Functions | |
Node | ctc_loss (NodeInput logits, NodeInput logit_length, NodeInput labels, NodeInput label_length, Optional[NodeInput] blank_index=None, bool preprocess_collapse_repeated=False, bool ctc_merge_repeated=True, bool unique=False, Optional[str] name=None) |
Return a node which performs CTCLoss. More... | |
Node | non_max_suppression (NodeInput boxes, NodeInput scores, Optional[NodeInput] max_output_boxes_per_class=None, Optional[NodeInput] iou_threshold=None, Optional[NodeInput] score_threshold=None, str box_encoding="corner", bool sort_result_descending=True, str output_type="i64", Optional[str] name=None) |
Return a node which performs NonMaxSuppression. More... | |
Node | softplus (NodeInput data, Optional[str] name=None) |
Apply SoftPlus operation on each element of input tensor. More... | |
Node | mish (NodeInput data, Optional[str] name=None) |
Return a node which performs Mish. More... | |
Node | hswish (NodeInput data, Optional[str] name=None) |
Return a node which performs HSwish (hard version of Swish). More... | |
Node | swish (NodeInput data, Optional[NodeInput] beta=None, Optional[str] name=None) |
Return a node which performing Swish activation function Swish(x, beta=1.0) = x * sigmoid(x * beta)). More... | |
Node | acosh (NodeInput node, Optional[str] name=None) |
Apply hyperbolic inverse cosine function on the input node element-wise. More... | |
Node | asinh (NodeInput node, Optional[str] name=None) |
Apply hyperbolic inverse sinus function on the input node element-wise. More... | |
Node | atanh (NodeInput node, Optional[str] name=None) |
Apply hyperbolic inverse tangent function on the input node element-wise. More... | |
Node | proposal (Node class_probs, Node bbox_deltas, NodeInput image_shape, dict attrs, Optional[str] name=None) |
Filter bounding boxes and outputs only those with the highest prediction confidence. More... | |
Node | reduce_l1 (NodeInput node, NodeInput reduction_axes, bool keep_dims=False, Optional[str] name=None) |
L1-reduction operation on input tensor, eliminating the specified reduction axes. More... | |
Node | reduce_l2 (NodeInput node, NodeInput reduction_axes, bool keep_dims=False, Optional[str] name=None) |
L2-reduction operation on input tensor, eliminating the specified reduction axes. More... | |
Node | lstm_cell (NodeInput X, NodeInput initial_hidden_state, NodeInput initial_cell_state, NodeInput W, NodeInput R, NodeInput B, int hidden_size, List[str] activations=None, List[float] activations_alpha=None, List[float] activations_beta=None, float clip=0.0, Optional[str] name=None) |
Return a node which performs LSTMCell operation. More... | |
Node ngraph.opset4.ops.acosh | ( | NodeInput | node, |
Optional[str] | name = None |
||
) |
Apply hyperbolic inverse cosine function on the input node element-wise.
node | One of: input node, array or scalar. |
name | Optional new name for output node. |
Node ngraph.opset4.ops.asinh | ( | NodeInput | node, |
Optional[str] | name = None |
||
) |
Apply hyperbolic inverse sinus function on the input node element-wise.
node | One of: input node, array or scalar. |
name | Optional new name for output node. |
Node ngraph.opset4.ops.atanh | ( | NodeInput | node, |
Optional[str] | name = None |
||
) |
Apply hyperbolic inverse tangent function on the input node element-wise.
node | One of: input node, array or scalar. |
name | Optional new name for output node. |
Node ngraph.opset4.ops.ctc_loss | ( | NodeInput | logits, |
NodeInput | logit_length, | ||
NodeInput | labels, | ||
NodeInput | label_length, | ||
Optional[NodeInput] | blank_index = None , |
||
bool | preprocess_collapse_repeated = False , |
||
bool | ctc_merge_repeated = True , |
||
bool | unique = False , |
||
Optional[str] | name = None |
||
) |
Return a node which performs CTCLoss.
logits | 3-D tensor of logits. |
logit_length | 1-D tensor of lengths for each object from a batch. |
labels | 2-D tensor of labels for which likelihood is estimated using logits. |
label_length | 1-D tensor of length for each label sequence. |
blank_index | Scalar used to mark a blank index. |
preprocess_collapse_repeated | Flag for preprocessing labels before loss calculation. |
ctc_merge_repeated | Flag for merging repeated characters in a potential alignment. |
unique | Flag to find unique elements in a target. |
Node ngraph.opset4.ops.hswish | ( | NodeInput | data, |
Optional[str] | name = None |
||
) |
Return a node which performs HSwish (hard version of Swish).
data | Tensor with input data floating point type. |
Node ngraph.opset4.ops.lstm_cell | ( | NodeInput | X, |
NodeInput | initial_hidden_state, | ||
NodeInput | initial_cell_state, | ||
NodeInput | W, | ||
NodeInput | R, | ||
NodeInput | B, | ||
int | hidden_size, | ||
List[str] | activations = None , |
||
List[float] | activations_alpha = None , |
||
List[float] | activations_beta = None , |
||
float | clip = 0.0 , |
||
Optional[str] | name = None |
||
) |
Return a node which performs LSTMCell operation.
X | The input tensor with shape: [batch_size, input_size]. |
initial_hidden_state | The hidden state tensor with shape: [batch_size, hidden_size]. |
initial_cell_state | The cell state tensor with shape: [batch_size, hidden_size]. |
W | The weight tensor with shape: [4*hidden_size, input_size]. |
R | The recurrence weight tensor with shape: [4*hidden_size, hidden_size]. |
B | The bias tensor for gates with shape: [4*hidden_size]. |
hidden_size | Specifies hidden state size. |
activations | The list of three activation functions for gates. |
activations_alpha | The list of alpha parameters for activation functions. |
activations_beta | The list of beta parameters for activation functions. |
clip | Specifies bound values [-C, C] for tensor clipping performed before activations. |
name | An optional name of the output node. |
Node ngraph.opset4.ops.mish | ( | NodeInput | data, |
Optional[str] | name = None |
||
) |
Return a node which performs Mish.
data | Tensor with input data floating point type. |
Node ngraph.opset4.ops.non_max_suppression | ( | NodeInput | boxes, |
NodeInput | scores, | ||
Optional[NodeInput] | max_output_boxes_per_class = None , |
||
Optional[NodeInput] | iou_threshold = None , |
||
Optional[NodeInput] | score_threshold = None , |
||
str | box_encoding = "corner" , |
||
bool | sort_result_descending = True , |
||
str | output_type = "i64" , |
||
Optional[str] | name = None |
||
) |
Return a node which performs NonMaxSuppression.
boxes | Tensor with box coordinates. |
scores | Tensor with box scores. |
max_output_boxes_per_class | Tensor Specifying maximum number of boxes to be selected per class. |
iou_threshold | Tensor specifying intersection over union threshold |
score_threshold | Tensor specifying minimum score to consider box for the processing. |
box_encoding | Format of boxes data encoding. |
sort_result_descending | Flag that specifies whenever it is necessary to sort selected boxes across batches or not. |
output_type | Output element type. |
Node ngraph.opset4.ops.proposal | ( | Node | class_probs, |
Node | bbox_deltas, | ||
NodeInput | image_shape, | ||
dict | attrs, | ||
Optional[str] | name = None |
||
) |
Filter bounding boxes and outputs only those with the highest prediction confidence.
class_probs | 4D input floating point tensor with class prediction scores. |
bbox_deltas | 4D input floating point tensor with corrected predictions of bounding boxes |
image_shape | The 1D input tensor with 3 or 4 elements describing image shape. |
attrs | The dictionary containing key, value pairs for attributes. |
name | Optional name for the output node.
|
Node ngraph.opset4.ops.reduce_l1 | ( | NodeInput | node, |
NodeInput | reduction_axes, | ||
bool | keep_dims = False , |
||
Optional[str] | name = None |
||
) |
L1-reduction operation on input tensor, eliminating the specified reduction axes.
node | The tensor we want to mean-reduce. |
reduction_axes | The axes to eliminate through mean operation. |
keep_dims | If set to True it holds axes that are used for reduction |
name | Optional name for output node. |
Node ngraph.opset4.ops.reduce_l2 | ( | NodeInput | node, |
NodeInput | reduction_axes, | ||
bool | keep_dims = False , |
||
Optional[str] | name = None |
||
) |
L2-reduction operation on input tensor, eliminating the specified reduction axes.
node | The tensor we want to mean-reduce. |
reduction_axes | The axes to eliminate through mean operation. |
keep_dims | If set to True it holds axes that are used for reduction |
name | Optional name for output node. |
Node ngraph.opset4.ops.softplus | ( | NodeInput | data, |
Optional[str] | name = None |
||
) |
Apply SoftPlus operation on each element of input tensor.
data | The tensor providing input data. |
Node ngraph.opset4.ops.swish | ( | NodeInput | data, |
Optional[NodeInput] | beta = None , |
||
Optional[str] | name = None |
||
) |
Return a node which performing Swish activation function Swish(x, beta=1.0) = x * sigmoid(x * beta)).
data | Tensor with input data floating point type. |