ngraph.opset4.ops

Factory functions for all ngraph ops.

Module Attributes

Functions

acosh(node[, name])

Apply hyperbolic inverse cosine function on the input node element-wise.

as_node(input_value)

Return input values as nodes.

as_nodes(*input_values)

Return input values as nodes.

asinh(node[, name])

Apply hyperbolic inverse sinus function on the input node element-wise.

assert_list_of_ints(value_list, message)

Verify that the provided value is an iterable of integers.

atanh(node[, name])

Apply hyperbolic inverse tangent function on the input node element-wise.

binary_op(node_factory_function)

Convert the first two input values to Constant Nodes if numeric values are detected.

check_valid_attributes(op_name, attributes, ...)

Perform attributes validation according to specified type, value criteria.

ctc_loss(logits, logit_length, labels, ...)

Return a node which performs CTCLoss.

get_dtype(ngraph_type)

Return a numpy.dtype for an ngraph element type.

get_element_type(data_type)

Return an ngraph element type for a Python type or numpy.dtype.

get_element_type_str(data_type)

Return an ngraph element type string representation for a Python type or numpy dtype.

hswish(data[, name])

Return a node which performs HSwish (hard version of Swish).

is_non_negative_value(x)

Determine whether the specified x is non-negative value.

is_positive_value(x)

Determine whether the specified x is positive value.

lstm_cell(X, initial_hidden_state, ...[, ...])

Return a node which performs LSTMCell operation.

make_constant_node(value[, dtype])

Return an ngraph Constant node with the specified value.

mish(data[, name])

Return a node which performs Mish.

nameable_op(node_factory_function)

Set the name to the ngraph operator returned by the wrapped function.

non_max_suppression(boxes, scores[, ...])

Return a node which performs NonMaxSuppression.

proposal(class_probs, bbox_deltas, ...[, name])

Filter bounding boxes and outputs only those with the highest prediction confidence.

reduce_l1(node, reduction_axes[, keep_dims, ...])

L1-reduction operation on input tensor, eliminating the specified reduction axes.

reduce_l2(node, reduction_axes[, keep_dims, ...])

L2-reduction operation on input tensor, eliminating the specified reduction axes.

softplus(data[, name])

Apply SoftPlus operation on each element of input tensor.

swish(data[, beta, name])

Return a node which performing Swish activation function Swish(x, beta=1.0) = x * sigmoid(x * beta)).

unary_op(node_factory_function)

Convert the first input value to a Constant Node if a numeric value is detected.

Classes

Constant

ngraph.impl.op.Constant wraps ngraph::op::Constant

GraphBody(parameters, results)

Class containing graph parameters and results.

Node

ngraph.impl.Node wraps ngraph::Node

NodeFactory([opset_version])

Factory front-end to create node objects.

Parameter

ngraph.impl.op.Parameter wraps ngraph::op::Parameter

Shape

ngraph.impl.Shape wraps ngraph::Shape

TensorIteratorBodyOutputDesc(body_value_idx, ...)

Represents an output from a specific iteration.

TensorIteratorConcatOutputDesc(...)

Represents an output produced by concatenation of output from each iteration.

TensorIteratorInvariantInputDesc(input_idx, ...)

Represents a TensorIterator graph body input that has invariant value during iteration.

TensorIteratorMergedInputDesc(input_idx, ...)

Represents a TensorIterator graph body input with initial value in the first iteration.

TensorIteratorSliceInputDesc(input_idx, ...)

Represents a TensorIterator graph body input formed from slices of TensorIterator input.

partial

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

Exceptions

Modules