otx.core.ov.ops#

Module of otx.core.ov.ops.

Classes

SoftMaxV0(name, **kwargs)

SoftMaxV0 class.

SoftMaxV1(name, **kwargs)

SoftMaxV1 class.

ReluV0(name, **kwargs)

ReluV0 class.

SwishV4(name, **kwargs)

SwishV4 class.

SigmoidV0(name, **kwargs)

SigmoidV0 class.

ClampV0(name, **kwargs)

ClampV0 class.

PReluV0(name, **kwargs)

PReluV0 class.

TanhV0(name, **kwargs)

TanhV0 class.

EluV0(name, **kwargs)

EluV0 class.

SeluV0(name, **kwargs)

SeluV0 class.

MishV4(name, **kwargs)

MishV4 class.

HSwishV4(name, **kwargs)

HSwishV4 class.

HSigmoidV5(name, **kwargs)

HSigmoidV5 class.

ExpV0(name, **kwargs)

ExpV0 class.

HardSigmoidV0(name, **kwargs)

HardSigmoidV0 class.

GeluV7(name, **kwargs)

GeluV7 class.

MultiplyV1(name, **kwargs)

MultiplyV1 class.

DivideV1(name, **kwargs)

DivideV1 class.

AddV1(name, **kwargs)

AddV1 class.

SubtractV1(name, **kwargs)

SubtractV1 class.

TanV0(name, **kwargs)

TanV0 class.

OperationRegistry(name[, add_name_as_attr])

OperationRegistry class.

ConvolutionV1(name, **kwargs)

ConvolutionV1 class.

GroupConvolutionV1(name, **kwargs)

GroupConvolutionV1 class.

RangeV4(name, **kwargs)

RangeV4 class.

InterpolateV4(*args, **kwargs)

InterpolateV4 class.

ParameterV0(name, **kwargs)

ParameterV0 class.

ResultV0(name, **kwargs)

ResultV0 class.

ConstantV0(*args, **kwargs)

ConstantV0 class.

MatMulV0(name, **kwargs)

MatMulV0 class.

EinsumV7(name, **kwargs)

EinsumV7 class.

PadV1(*args, **kwargs)

PadV1 class.

ConcatV0(name, **kwargs)

ConcatV0 class.

TransposeV1(name, **kwargs)

TransposeV1 class.

GatherV0(name, **kwargs)

GatherV0 class.

GatherV1(name, **kwargs)

GatherV1 class.

StridedSliceV1(name, **kwargs)

StridedSliceV1 class.

SplitV1(name, **kwargs)

SplitV1 class.

VariadicSplitV1(name, **kwargs)

VariadicSplitV1 class.

ShuffleChannelsV0(name, **kwargs)

ShuffleChannelsV0 class.

BroadcastV3(name, **kwargs)

BroadcastV3 class.

ScatterNDUpdateV3(name, **kwargs)

ScatterNDUpdateV3 class.

ScatterUpdateV3(name, **kwargs)

ScatterUpdateV3 class.

TileV0(name, **kwargs)

TileV0 class.

BatchNormalizationV0(*args, **kwargs)

BatchNormalizationV0 class.

LocalResponseNormalizationV0(name, **kwargs)

LocalResponseNormalizationV0 class.

NormalizeL2V0(name, **kwargs)

NormalizeL2V0 class.

MVNV6(name, **kwargs)

MVNV6 class.

ProposalV4(name, **kwargs)

ProposalV4 class.

ROIPoolingV0(name, **kwargs)

ROIPoolingV0 class.

DetectionOutputV0(name, **kwargs)

DetectionOutputV0 class.

RegionYoloV0(name, **kwargs)

RegionYoloV0 class.

PriorBoxV0(name, **kwargs)

PriorBoxV0 class.

PriorBoxClusteredV0(name, **kwargs)

PriorBoxClusteredV0 class.

Operation(name, **kwargs)

Operation class.

Attribute(shape)

Attribute class.

MaxPoolV0(name, **kwargs)

MaxPoolV0 class.

AvgPoolV1(*args, **kwargs)

AvgPoolV1 class.

ReduceMeanV1(name, **kwargs)

ReduceMeanV1 class.

ReduceProdV1(name, **kwargs)

ReduceMeanV1Attribute class.

ReduceMinV1(name, **kwargs)

ReduceMinV1 class.

ReduceSumV1(name, **kwargs)

ReduceSumV1 class.

SqueezeV0(name, **kwargs)

SqueezeV0 class.

UnsqueezeV0(name, **kwargs)

UnsqueezeV0 class.

ReshapeV1(name, **kwargs)

ReshapeV1 class.

ShapeOfV0(name, **kwargs)

ShapeOfV0 class.

ShapeOfV3(name, **kwargs)

ShapeOfV3 class.

TopKV3(name, **kwargs)

TopKV3 class.

NonMaxSuppressionV5(name, **kwargs)

NonMaxSuppressionV5 class.

NonMaxSuppressionV9(name, **kwargs)

NonMaxSuppressionV9 class.

ConvertV0(name, **kwargs)

ConvertV0 class.

class otx.core.ov.ops.AddV1(name: str, **kwargs)[source]#

Bases: Operation[AddV1Attribute]

AddV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of AddV1Attribute

forward(input_0, input_1)[source]#

AddV1’s forward function.

class otx.core.ov.ops.Attribute(shape: Tuple[Tuple[int]] | Tuple[int] | None)[source]#

Bases: object

Attribute class.

class otx.core.ov.ops.AvgPoolV1(*args, **kwargs)[source]#

Bases: Operation[AvgPoolV1Attribute]

AvgPoolV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of AvgPoolV1Attribute

forward(inputs)[source]#

AvgPoolV1’s forward function.

class otx.core.ov.ops.BatchNormalizationV0(*args, **kwargs)[source]#

Bases: Operation[BatchNormalizationV0Attribute]

BatchNormalizationV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of BatchNormalizationV0Attribute

forward(inputs, gamma, beta, mean, variance)[source]#

BatchNormalizationV0’s forward function.

class otx.core.ov.ops.BroadcastV3(name: str, **kwargs)[source]#

Bases: Operation[BroadcastV3Attribute]

BroadcastV3 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of BroadcastV3Attribute

forward(inputs, target_shape, axes_mapping=None)[source]#

BroadcastV3’s forward function.

class otx.core.ov.ops.ClampV0(name: str, **kwargs)[source]#

Bases: Operation[ClampV0Attribute]

ClampV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ClampV0Attribute

forward(inputs)[source]#

ClampV0’s forward function.

class otx.core.ov.ops.ConcatV0(name: str, **kwargs)[source]#

Bases: Operation[ConcatV0Attribute]

ConcatV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ConcatV0Attribute

forward(*inputs)[source]#

ConcatV0’s forward function.

class otx.core.ov.ops.ConstantV0(*args, **kwargs)[source]#

Bases: Operation[ConstantV0Attribute]

ConstantV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ConstantV0Attribute

forward()[source]#

ConstantV0’s forward function.

classmethod from_ov(ov_op)[source]#

ConstantV0’s from_ov function.

class otx.core.ov.ops.ConvertV0(name: str, **kwargs)[source]#

Bases: Operation[ConvertV0Attribute]

ConvertV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ConvertV0Attribute

static convert_ov_type(ov_type)[source]#

ConvertV0’s convert_ov_type function.

static convert_torch_type(torch_type)[source]#

ConvertV0’s convert_torch_type function.

forward(inputs)[source]#

ConvertV0’s forward function.

class otx.core.ov.ops.ConvolutionV1(name: str, **kwargs)[source]#

Bases: Operation[ConvolutionV1Attribute]

ConvolutionV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ConvolutionV1Attribute

forward(inputs, weight)[source]#

ConvolutionV1’s forward function.

class otx.core.ov.ops.DetectionOutputV0(name: str, **kwargs)[source]#

Bases: Operation[DetectionOutputV0Attribute]

DetectionOutputV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of DetectionOutputV0Attribute

forward(loc_data, conf_data, prior_data, arm_conf_data=None, arm_loc_data=None)[source]#

DetectionOutputV0’s forward.

class otx.core.ov.ops.DivideV1(name: str, **kwargs)[source]#

Bases: Operation[DivideV1Attribute]

DivideV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of DivideV1Attribute

forward(input_0, input_1)[source]#

DivideV1’s forward function.

class otx.core.ov.ops.EinsumV7(name: str, **kwargs)[source]#

Bases: Operation[EinsumV7Attribute]

EinsumV7 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of EinsumV7Attribute

forward(*inputs)[source]#

EinsumV7’s forward function.

class otx.core.ov.ops.EluV0(name: str, **kwargs)[source]#

Bases: Operation[EluV0Attribute]

EluV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of EluV0Attribute

forward(inputs)[source]#

EluV0’s forward function.

class otx.core.ov.ops.ExpV0(name: str, **kwargs)[source]#

Bases: Operation[ExpV0Attribute]

ExpV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ExpV0Attribute

forward(inputs)[source]#

ExpV0’s forward function.

class otx.core.ov.ops.GatherV0(name: str, **kwargs)[source]#

Bases: Operation[GatherV0Attribute]

GatherV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of GatherV0Attribute

forward(inputs, indices, axis)[source]#

GatherV0’s forward function.

class otx.core.ov.ops.GatherV1(name: str, **kwargs)[source]#

Bases: Operation[GatherV1Attribute]

GatherV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of GatherV1Attribute

forward(inputs, indices, axis)[source]#

GatherV1’s forward function.

class otx.core.ov.ops.GeluV7(name: str, **kwargs)[source]#

Bases: Operation[GeluV7Attribute]

GeluV7 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of GeluV7Attribute

forward(inputs)[source]#

GeluV7’s forward function.

class otx.core.ov.ops.GroupConvolutionV1(name: str, **kwargs)[source]#

Bases: Operation[GroupConvolutionV1Attribute]

GroupConvolutionV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of GroupConvolutionV1Attribute

forward(inputs, weight)[source]#

GroupConvolutionV1’s forward function.

class otx.core.ov.ops.HSigmoidV5(name: str, **kwargs)[source]#

Bases: Operation[HSigmoidV5Attribute]

HSigmoidV5 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of HSigmoidV5Attribute

forward(inputs)[source]#

HSigmoidV5’s forward function.

class otx.core.ov.ops.HSwishV4(name: str, **kwargs)[source]#

Bases: Operation[HSwishV4Attribute]

HSwishV4 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of HSwishV4Attribute

forward(inputs)[source]#

HSwishV4’s forward function.

class otx.core.ov.ops.HardSigmoidV0(name: str, **kwargs)[source]#

Bases: Operation[HardSigmoidV0Attribute]

HardSigmoidV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of HardSigmoidV0Attribute

forward(inputs, alpha, beta)[source]#

HardSigmoidV0’s forward function.

class otx.core.ov.ops.InterpolateV4(*args, **kwargs)[source]#

Bases: Operation[InterpolateV4Attribute]

InterpolateV4 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of InterpolateV4Attribute

forward(inputs, sizes, scales, axes=None)[source]#

InterpolateV4’s forward function.

class otx.core.ov.ops.LocalResponseNormalizationV0(name: str, **kwargs)[source]#

Bases: Operation[LocalResponseNormalizationV0Attribute]

LocalResponseNormalizationV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of LocalResponseNormalizationV0Attribute

forward(inputs, axes)[source]#

LocalResponseNormalizationV0’s forward function.

class otx.core.ov.ops.MVNV6(name: str, **kwargs)[source]#

Bases: Operation[MVNV6Attribute]

MVNV6 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of MVNV6Attribute

forward(inputs, axes)[source]#

MVNV6’s forward function.

class otx.core.ov.ops.MatMulV0(name: str, **kwargs)[source]#

Bases: Operation[MatMulV0Attribute]

MatMulV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of MatMulV0Attribute

forward(input_a, input_b)[source]#

MatMulV0’s forward function.

class otx.core.ov.ops.MaxPoolV0(name: str, **kwargs)[source]#

Bases: Operation[MaxPoolV0Attribute]

MaxPoolV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of MaxPoolV0Attribute

forward(inputs)[source]#

MaxPoolV0’s forward function.

class otx.core.ov.ops.MishV4(name: str, **kwargs)[source]#

Bases: Operation[MishV4Attribute]

MishV4 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of MishV4Attribute

forward(inputs)[source]#

MishV4’s forward function.

class otx.core.ov.ops.MultiplyV1(name: str, **kwargs)[source]#

Bases: Operation[MultiplyV1Attribute]

MultiplyV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of MultiplyV1Attribute

forward(input_0, input_1)[source]#

MultiplyV1’s forward function.

class otx.core.ov.ops.NonMaxSuppressionV5(name: str, **kwargs)[source]#

Bases: Operation[NonMaxSuppressionV5Attribute]

NonMaxSuppressionV5 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of NonMaxSuppressionV5Attribute

forward(boxes, scores, max_output_boxes_per_class, iou_threshold=0, score_threshold=0, soft_nms_sigma=0)[source]#

NonMaxSuppressionV5’s forward function.

class otx.core.ov.ops.NonMaxSuppressionV9(name: str, **kwargs)[source]#

Bases: Operation[NonMaxSuppressionV9Attribute]

NonMaxSuppressionV9 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of NonMaxSuppressionV9Attribute

forward(boxes, scores, max_output_boxes_per_class, iou_threshold=0, score_threshold=0, soft_nms_sigma=0)[source]#

NonMaxSuppressionV9’s forward function.

class otx.core.ov.ops.NormalizeL2V0(name: str, **kwargs)[source]#

Bases: Operation[NormalizeL2V0Attribute]

NormalizeL2V0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of NormalizeL2V0Attribute

forward(inputs, axes)[source]#

NormalizeL2V0’s forward function.

class otx.core.ov.ops.Operation(name: str, **kwargs)[source]#

Bases: Module, Generic[_T]

Operation class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of Attribute

classmethod from_ov(ov_op)[source]#

Operation’s from_ov function.

property attrs#

Operation’s attrs property.

property name: str#

Operation’s name property.

property shape: Tuple[Tuple[int]] | Tuple[int] | None#

Operation’s shape property.

property type: str#

Operation’s type property.

property version: str#

Operation’s version property.

class otx.core.ov.ops.OperationRegistry(name, add_name_as_attr=False)[source]#

Bases: Registry

OperationRegistry class.

get_by_name(name)[source]#

Get obj from name.

get_by_type_version(types, version)[source]#

Get obj from type and version.

register(name: Any | None = None)[source]#

Register function from name.

class otx.core.ov.ops.PReluV0(name: str, **kwargs)[source]#

Bases: Operation[PReluV0Attribute]

PReluV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of PReluV0Attribute

forward(inputs, slope)[source]#

PReluV0’s forward function.

class otx.core.ov.ops.PadV1(*args, **kwargs)[source]#

Bases: Operation[PadV1Attribute]

PadV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of PadV1Attribute

forward(inputs, pads_begin, pads_end, pad_value=0)[source]#

PadV1’s forward function.

static get_torch_pad_dim(pads_begin, pads_end)[source]#

PadV1’s get_torch_pad_dim function.

static get_torch_pad_mode(pad_mode)[source]#

PadV1’s get_torch_pad_mode function.

class otx.core.ov.ops.ParameterV0(name: str, **kwargs)[source]#

Bases: Operation[ParameterV0Attribute]

ParameterV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ParameterV0Attribute

forward(inputs)[source]#

ParameterV0’s forward function.

classmethod from_ov(ov_op)[source]#

ParameterV0’s from_ov function.

class otx.core.ov.ops.PriorBoxClusteredV0(name: str, **kwargs)[source]#

Bases: Operation[PriorBoxClusteredV0Attribute]

PriorBoxClusteredV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of PriorBoxClusteredV0Attribute

forward(output_size, image_size)[source]#

PriorBoxClusteredV0’s forward function.

class otx.core.ov.ops.PriorBoxV0(name: str, **kwargs)[source]#

Bases: Operation[PriorBoxV0Attribute]

PriorBoxV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of PriorBoxV0Attribute

forward(output_size, image_size)[source]#

PriorBoxV0’s forward function.

class otx.core.ov.ops.ProposalV4(name: str, **kwargs)[source]#

Bases: Operation[ProposalV4Attribute]

ProposalV4 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ProposalV4Attribute

forward(class_probs, bbox_deltas, image_shape)[source]#

ProposalV4’s forward function.

class otx.core.ov.ops.ROIPoolingV0(name: str, **kwargs)[source]#

Bases: Operation[ROIPoolingV0Attribute]

ROIPoolingV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ROIPoolingV0Attribute

forward(inputs, boxes)[source]#

ROIPoolingV0’s forward function.

class otx.core.ov.ops.RangeV4(name: str, **kwargs)[source]#

Bases: Operation[RangeV4Attribute]

RangeV4 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of RangeV4Attribute

forward(start, stop, step)[source]#

RangeV4’s forward function.

class otx.core.ov.ops.ReduceMeanV1(name: str, **kwargs)[source]#

Bases: Operation[ReduceMeanV1Attribute]

ReduceMeanV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ReduceMeanV1Attribute

forward(inputs, axes)[source]#

ReduceMeanV1’s forward function.

class otx.core.ov.ops.ReduceMinV1(name: str, **kwargs)[source]#

Bases: Operation[ReduceMinV1Attribute]

ReduceMinV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ReduceMinV1Attribute

forward(inputs, axes)[source]#

ReduceMinV1’s forward function.

class otx.core.ov.ops.ReduceProdV1(name: str, **kwargs)[source]#

Bases: Operation[ReduceProdV1Attribute]

ReduceMeanV1Attribute class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ReduceProdV1Attribute

forward(inputs, axes)[source]#

ReduceMeanV1Attribute’s forward function.

class otx.core.ov.ops.ReduceSumV1(name: str, **kwargs)[source]#

Bases: Operation[ReduceSumV1Attribute]

ReduceSumV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ReduceSumV1Attribute

forward(inputs, axes)[source]#

ReduceSumV1’s forward function.

class otx.core.ov.ops.RegionYoloV0(name: str, **kwargs)[source]#

Bases: Operation[RegionYoloV0Attribute]

RegionYoloV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of RegionYoloV0Attribute

forward(inputs)[source]#

RegionYoloV0’s forward function.

class otx.core.ov.ops.ReluV0(name: str, **kwargs)[source]#

Bases: Operation[ReluV0Attribute]

ReluV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ReluV0Attribute

forward(inputs)[source]#

ReluV0’s forward function.

class otx.core.ov.ops.ReshapeV1(name: str, **kwargs)[source]#

Bases: Operation[ReshapeV1Attribute]

ReshapeV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ReshapeV1Attribute

forward(inputs, shape)[source]#

ReshapeV1’s forward function.

class otx.core.ov.ops.ResultV0(name: str, **kwargs)[source]#

Bases: Operation[ResultV0Attribute]

ResultV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ResultV0Attribute

forward(inputs)[source]#

ResultV0’s forward function.

class otx.core.ov.ops.ScatterNDUpdateV3(name: str, **kwargs)[source]#

Bases: Operation[ScatterNDUpdateV3Attribute]

ScatterNDUpdateV3 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ScatterNDUpdateV3Attribute

forward(inputs, indicies, updates)[source]#

ScatterNDUpdateV3’s forward function.

class otx.core.ov.ops.ScatterUpdateV3(name: str, **kwargs)[source]#

Bases: Operation[ScatterUpdateV3Attribute]

ScatterUpdateV3 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ScatterUpdateV3Attribute

forward(inputs, indicies, updates, axis)[source]#

ScatterUpdateV3’s forward function.

class otx.core.ov.ops.SeluV0(name: str, **kwargs)[source]#

Bases: Operation[SeluV0Attribute]

SeluV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SeluV0Attribute

forward(inputs, alpha, lambda_)[source]#

SeluV0’s forward function.

class otx.core.ov.ops.ShapeOfV0(name: str, **kwargs)[source]#

Bases: Operation[ShapeOfV0Attribute]

ShapeOfV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ShapeOfV0Attribute

forward(inputs)[source]#

ShapeOfV0’s forward function.

class otx.core.ov.ops.ShapeOfV3(name: str, **kwargs)[source]#

Bases: Operation[ShapeOfV3Attribute]

ShapeOfV3 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ShapeOfV3Attribute

forward(inputs)[source]#

ShapeOfV3’s forward function.

class otx.core.ov.ops.ShuffleChannelsV0(name: str, **kwargs)[source]#

Bases: Operation[ShuffleChannelsV0Attribute]

ShuffleChannelsV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of ShuffleChannelsV0Attribute

forward(inputs)[source]#

ShuffleChannelsV0’s forward function.

class otx.core.ov.ops.SigmoidV0(name: str, **kwargs)[source]#

Bases: Operation[SigmoidV0Attribute]

SigmoidV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SigmoidV0Attribute

forward(inputs)[source]#

SigmoidV0’s forward function.

class otx.core.ov.ops.SoftMaxV0(name: str, **kwargs)[source]#

Bases: Operation[SoftMaxV0Attribute]

SoftMaxV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SoftMaxV0Attribute

forward(inputs)[source]#

SoftMaxV0’s forward function.

class otx.core.ov.ops.SoftMaxV1(name: str, **kwargs)[source]#

Bases: Operation[SoftMaxV1Attribute]

SoftMaxV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SoftMaxV1Attribute

forward(inputs)[source]#

SoftMaxV1’s forward function.

class otx.core.ov.ops.SplitV1(name: str, **kwargs)[source]#

Bases: Operation[SplitV1Attribute]

SplitV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SplitV1Attribute

forward(inputs, axis)[source]#

SplitV1’s forward function.

class otx.core.ov.ops.SqueezeV0(name: str, **kwargs)[source]#

Bases: Operation[SqueezeV0Attribute]

SqueezeV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SqueezeV0Attribute

forward(inputs, dims=None)[source]#

SqueezeV0’s forward function.

class otx.core.ov.ops.StridedSliceV1(name: str, **kwargs)[source]#

Bases: Operation[StridedSliceV1Attribute]

StridedSliceV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of StridedSliceV1Attribute

forward(inputs, begin, end, stride=None)[source]#

StridedSliceV1’s forward function.

class otx.core.ov.ops.SubtractV1(name: str, **kwargs)[source]#

Bases: Operation[SubtractV1Attribute]

SubtractV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SubtractV1Attribute

forward(input_0, input_1)[source]#

SubtractV1’s forward function.

class otx.core.ov.ops.SwishV4(name: str, **kwargs)[source]#

Bases: Operation[SwishV4Attribute]

SwishV4 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of SwishV4Attribute

forward(inputs, beta=1.0)[source]#

SwishV4’s forward function.

class otx.core.ov.ops.TanV0(name: str, **kwargs)[source]#

Bases: Operation[TanV0Attribute]

TanV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of TanV0Attribute

forward(inputs)[source]#

TanV0’s forward function.

class otx.core.ov.ops.TanhV0(name: str, **kwargs)[source]#

Bases: Operation[TanhV0Attribute]

TanhV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of TanhV0Attribute

forward(inputs)[source]#

TanhV0’s forward function.

class otx.core.ov.ops.TileV0(name: str, **kwargs)[source]#

Bases: Operation[TileV0Attribute]

TileV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of TileV0Attribute

forward(inputs, repeats)[source]#

TileV0’s forward function.

class otx.core.ov.ops.TopKV3(name: str, **kwargs)[source]#

Bases: Operation[TopKV3Attribute]

TopKV3 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of TopKV3Attribute

forward(inputs, k)[source]#

TopKV3’s forward function.

class otx.core.ov.ops.TransposeV1(name: str, **kwargs)[source]#

Bases: Operation[TransposeV1Attribute]

TransposeV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of TransposeV1Attribute

forward(inputs, order)[source]#

TransposeV1’s forward function.

class otx.core.ov.ops.UnsqueezeV0(name: str, **kwargs)[source]#

Bases: Operation[UnsqueezeV0Attribute]

UnsqueezeV0 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of UnsqueezeV0Attribute

forward(inputs, dims)[source]#

UnsqueezeV0’s forward function.

class otx.core.ov.ops.VariadicSplitV1(name: str, **kwargs)[source]#

Bases: Operation[VariadicSplitV1Attribute]

VariadicSplitV1 class.

Initializes internal Module state, shared by both nn.Module and ScriptModule.

ATTRIBUTE_FACTORY#

alias of VariadicSplitV1Attribute

forward(inputs, axis, split_lengths)[source]#

VariadicSplitV1’s forward function.