module onnxrt.ops_shape._element_unary
#
Short summary#
module mlprodict.onnxrt.ops_shape._element_unary
Computes shape inference for element wise operators with one input.
Functions#
function |
truncated documentation |
---|---|
Infers shape for an element wise operator. The function returns but updates known_shapes. |
|
Infers shape for operator Abs. |
|
Infers shape for operator Acos. |
|
Infers shape for operator Acosh. |
|
Infers shape for operator Asin. |
|
Infers shape for operator Asinh. |
|
Infers shape for operator Atan. |
|
Infers shape for operator Atanh. |
|
Infers shape for operator CastLike. |
|
Infers shape for operator Ceil. |
|
Infers shape for operator Celu. |
|
Infers shape for operator Clip. |
|
Infers shape for operator Cos. |
|
Infers shape for operator Cosh. |
|
Infers shape for operator Elu. |
|
Infers shape for operator Erf. |
|
Infers shape for operator Exp. |
|
Infers shape for operator Floor. |
|
Infers shape for operator Hardmax. |
|
Infers shape for operator HardSigmoid. |
|
Infers shape for operator Identity. |
|
Infers shape for operator IsInf. |
|
Infers shape for operator IsNan. |
|
Infers shape for operator LeakyRelu. |
|
Infers shape for operator Log. |
|
Infers shape for operator LogSoftmax. |
|
Infers shape for operator Neg. |
|
Infers shape for operator Not. |
|
Infers shape for operator Reciprocal. |
|
Infers shape for operator Relu. |
|
Infers shape for operator Round. |
|
Infers shape for operator Selu. |
|
Infers shape for operator Shrink. |
|
Infers shape for operator Sigmoid. |
|
Infers shape for operator Sigmoid. |
|
Infers shape for operator Sin. |
|
Infers shape for operator Sinh. |
|
Infers shape for operator Softmax. |
|
Infers shape for operator Softplus. |
|
Infers shape for operator Softsign. |
|
Infers shape for operator Sqrt. |
|
Infers shape for operator Tan. |
|
Infers shape for operator Tanh. |
|
Infers shape for operator ThresholdedRelu. |
|
Infers shape for operator Trilu. |
Documentation#
Computes shape inference for element wise operators with one input.
- mlprodict.onnxrt.ops_shape._element_unary._element_unary(known_shapes, node, dtype=None, one_input=True)#
Infers shape for an element wise operator. The function returns but updates known_shapes.
- Parameters:
known_shapes – known shapes
node – Onnx node
dtype – None to keep the same type as input, not None to change it
one_input – check there is only one input
- Returns:
updated or not
- mlprodict.onnxrt.ops_shape._element_unary.shape_abs(known_shapes, node)#
Infers shape for operator Abs.
- mlprodict.onnxrt.ops_shape._element_unary.shape_acos(known_shapes, node)#
Infers shape for operator Acos.
- mlprodict.onnxrt.ops_shape._element_unary.shape_acosh(known_shapes, node)#
Infers shape for operator Acosh.
- mlprodict.onnxrt.ops_shape._element_unary.shape_asin(known_shapes, node)#
Infers shape for operator Asin.
- mlprodict.onnxrt.ops_shape._element_unary.shape_asinh(known_shapes, node)#
Infers shape for operator Asinh.
- mlprodict.onnxrt.ops_shape._element_unary.shape_atan(known_shapes, node)#
Infers shape for operator Atan.
- mlprodict.onnxrt.ops_shape._element_unary.shape_atanh(known_shapes, node)#
Infers shape for operator Atanh.
- mlprodict.onnxrt.ops_shape._element_unary.shape_castlike(known_shapes, node)#
Infers shape for operator CastLike.
- mlprodict.onnxrt.ops_shape._element_unary.shape_ceil(known_shapes, node)#
Infers shape for operator Ceil.
- mlprodict.onnxrt.ops_shape._element_unary.shape_celu(known_shapes, node)#
Infers shape for operator Celu.
- mlprodict.onnxrt.ops_shape._element_unary.shape_clip(known_shapes, node)#
Infers shape for operator Clip.
- mlprodict.onnxrt.ops_shape._element_unary.shape_cos(known_shapes, node)#
Infers shape for operator Cos.
- mlprodict.onnxrt.ops_shape._element_unary.shape_cosh(known_shapes, node)#
Infers shape for operator Cosh.
- mlprodict.onnxrt.ops_shape._element_unary.shape_elu(known_shapes, node)#
Infers shape for operator Elu.
- mlprodict.onnxrt.ops_shape._element_unary.shape_erf(known_shapes, node)#
Infers shape for operator Erf.
- mlprodict.onnxrt.ops_shape._element_unary.shape_exp(known_shapes, node)#
Infers shape for operator Exp.
- mlprodict.onnxrt.ops_shape._element_unary.shape_floor(known_shapes, node)#
Infers shape for operator Floor.
- mlprodict.onnxrt.ops_shape._element_unary.shape_hardmax(known_shapes, node)#
Infers shape for operator Hardmax.
- mlprodict.onnxrt.ops_shape._element_unary.shape_hardsigmoid(known_shapes, node)#
Infers shape for operator HardSigmoid.
- mlprodict.onnxrt.ops_shape._element_unary.shape_identity(known_shapes, node)#
Infers shape for operator Identity.
- mlprodict.onnxrt.ops_shape._element_unary.shape_isinf(known_shapes, node)#
Infers shape for operator IsInf.
- mlprodict.onnxrt.ops_shape._element_unary.shape_isnan(known_shapes, node)#
Infers shape for operator IsNan.
- mlprodict.onnxrt.ops_shape._element_unary.shape_leakyrelu(known_shapes, node)#
Infers shape for operator LeakyRelu.
- mlprodict.onnxrt.ops_shape._element_unary.shape_log(known_shapes, node)#
Infers shape for operator Log.
- mlprodict.onnxrt.ops_shape._element_unary.shape_logsoftmax(known_shapes, node)#
Infers shape for operator LogSoftmax.
- mlprodict.onnxrt.ops_shape._element_unary.shape_neg(known_shapes, node)#
Infers shape for operator Neg.
- mlprodict.onnxrt.ops_shape._element_unary.shape_not(known_shapes, node)#
Infers shape for operator Not.
- mlprodict.onnxrt.ops_shape._element_unary.shape_reciprocal(known_shapes, node)#
Infers shape for operator Reciprocal.
- mlprodict.onnxrt.ops_shape._element_unary.shape_relu(known_shapes, node)#
Infers shape for operator Relu.
- mlprodict.onnxrt.ops_shape._element_unary.shape_round(known_shapes, node)#
Infers shape for operator Round.
- mlprodict.onnxrt.ops_shape._element_unary.shape_selu(known_shapes, node)#
Infers shape for operator Selu.
- mlprodict.onnxrt.ops_shape._element_unary.shape_shrink(known_shapes, node)#
Infers shape for operator Shrink.
- mlprodict.onnxrt.ops_shape._element_unary.shape_sigmoid(known_shapes, node)#
Infers shape for operator Sigmoid.
- mlprodict.onnxrt.ops_shape._element_unary.shape_sign(known_shapes, node)#
Infers shape for operator Sigmoid.
- mlprodict.onnxrt.ops_shape._element_unary.shape_sin(known_shapes, node)#
Infers shape for operator Sin.
- mlprodict.onnxrt.ops_shape._element_unary.shape_sinh(known_shapes, node)#
Infers shape for operator Sinh.
- mlprodict.onnxrt.ops_shape._element_unary.shape_softmax(known_shapes, node)#
Infers shape for operator Softmax.
- mlprodict.onnxrt.ops_shape._element_unary.shape_softplus(known_shapes, node)#
Infers shape for operator Softplus.
- mlprodict.onnxrt.ops_shape._element_unary.shape_softsign(known_shapes, node)#
Infers shape for operator Softsign.
- mlprodict.onnxrt.ops_shape._element_unary.shape_sqrt(known_shapes, node)#
Infers shape for operator Sqrt.
- mlprodict.onnxrt.ops_shape._element_unary.shape_tan(known_shapes, node)#
Infers shape for operator Tan.
- mlprodict.onnxrt.ops_shape._element_unary.shape_tanh(known_shapes, node)#
Infers shape for operator Tanh.
- mlprodict.onnxrt.ops_shape._element_unary.shape_thresholdedrelu(known_shapes, node)#
Infers shape for operator ThresholdedRelu.
- mlprodict.onnxrt.ops_shape._element_unary.shape_trilu(known_shapes, node)#
Infers shape for operator Trilu.