commit
9949f3ac64
|
@ -1,5 +1,5 @@
|
||||||
mindspore.ops.BitwiseAnd
|
mindspore.ops.BitwiseAnd
|
||||||
==================
|
========================
|
||||||
|
|
||||||
.. py:class:: mindspore.ops.BitwiseAnd()
|
.. py:class:: mindspore.ops.BitwiseAnd()
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mindspore.ops.BitwiseOr
|
mindspore.ops.BitwiseOr
|
||||||
==================
|
=======================
|
||||||
|
|
||||||
.. py:class:: mindspore.ops.BitwiseOr()
|
.. py:class:: mindspore.ops.BitwiseOr()
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mindspore.ops.BitwiseXor
|
mindspore.ops.BitwiseXor
|
||||||
==================
|
========================
|
||||||
|
|
||||||
.. py:class:: mindspore.ops.BitwiseXor()
|
.. py:class:: mindspore.ops.BitwiseXor()
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mindspore.ops.Cdist
|
mindspore.ops.Cdist
|
||||||
==================
|
===================
|
||||||
|
|
||||||
.. py:class:: mindspore.ops.Cdist()
|
.. py:class:: mindspore.ops.Cdist()
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mindspore.ops.bitwise_and
|
mindspore.ops.bitwise_and
|
||||||
========================
|
=========================
|
||||||
|
|
||||||
.. py:function:: mindspore.ops.bitwise_and(x, y)
|
.. py:function:: mindspore.ops.bitwise_and(x, y)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mindspore.ops.bitwise_xor
|
mindspore.ops.bitwise_xor
|
||||||
========================
|
=========================
|
||||||
|
|
||||||
.. py:function:: mindspore.ops.bitwise_xor(x, y)
|
.. py:function:: mindspore.ops.bitwise_xor(x, y)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mindspore.ops.cdist
|
mindspore.ops.cdist
|
||||||
==================
|
===================
|
||||||
|
|
||||||
.. py:function:: mindspore.ops.cdist(x, y, p)
|
.. py:function:: mindspore.ops.cdist(x, y, p)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
mindspore.profiler
|
|
||||||
==================
|
|
||||||
|
|
||||||
.. automodule:: mindspore.profiler
|
|
||||||
:members:
|
|
|
@ -710,7 +710,7 @@ class Softsign(Cell):
|
||||||
TypeError: If dtype of `input_x` is neither float16 nor float32.
|
TypeError: If dtype of `input_x` is neither float16 nor float32.
|
||||||
|
|
||||||
Supported Platforms:
|
Supported Platforms:
|
||||||
``Ascend`` `CPU``
|
``Ascend`` ``CPU``
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
>>> input_x = Tensor(np.array([0, -1, 2, 30, -30]), mindspore.float32)
|
>>> input_x = Tensor(np.array([0, -1, 2, 30, -30]), mindspore.float32)
|
||||||
|
|
|
@ -297,7 +297,7 @@ class Addcmul(Primitive):
|
||||||
output[i] = input\_data[i] + value[i] * (x1[i] * x2[i])
|
output[i] = input\_data[i] + value[i] * (x1[i] * x2[i])
|
||||||
|
|
||||||
Inputs:
|
Inputs:
|
||||||
- **input_data**(Tensor) - The tensor to be added.
|
- **input_data** (Tensor) - The tensor to be added.
|
||||||
- **x1** (Tensor) - The tensor to be multiplied.
|
- **x1** (Tensor) - The tensor to be multiplied.
|
||||||
- **x2** (Tensor) - The tensor to be multiplied.
|
- **x2** (Tensor) - The tensor to be multiplied.
|
||||||
- **value** (Tensor) - The multiplier for tensor x1*x2.
|
- **value** (Tensor) - The multiplier for tensor x1*x2.
|
||||||
|
|
|
@ -31,10 +31,10 @@ class TreeNodeHelper:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_sub_tree(node: Node) -> Optional[SymbolTree]:
|
def get_sub_tree(node: Node) -> Optional[SymbolTree]:
|
||||||
"""
|
"""
|
||||||
Getting symbol_tree from a `Tree` type `Node`.
|
Getting symbol_tree from a `Tree` type `Node`.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
node (Node): A `Node` who may hold a sub-symbol_tree.
|
node (Node): A `Node` who may hold a sub-symbol_tree.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
An instance of SymbolTree represents sub-symbol_tree. Note that `node`'s symbol_tree maybe None, in this
|
An instance of SymbolTree represents sub-symbol_tree. Note that `node`'s symbol_tree maybe None, in this
|
||||||
|
|
Loading…
Reference in New Issue