_ffi._ctypes.object
_ffi._ctypes.object
#
Runtime Object api
- tvm._ffi._ctypes.object.OBJECT_TYPE = {3: <class 'tvm.runtime.container.String'>, 4: <class 'tvm.ir.container.Array'>, 5: <class 'tvm.ir.container.Map'>, 6: <class 'tvm.runtime.container.ShapeTuple'>, 9: <class 'tvm.runtime.container.ADT'>, 15: <class 'tvm.tir.expr.Var'>, 16: <class 'tvm.tir.expr.SizeVar'>, 18: <class 'tvm.arith.iter_affine_map.IterSplitExpr'>, 19: <class 'tvm.arith.iter_affine_map.IterSumExpr'>, 21: <class 'tvm.tir.expr.IntImm'>, 22: <class 'tvm.tir.expr.FloatImm'>, 23: <class 'tvm.tir.expr.StringImm'>, 24: <class 'tvm.tir.expr.Cast'>, 25: <class 'tvm.tir.expr.Add'>, 26: <class 'tvm.tir.expr.Sub'>, 27: <class 'tvm.tir.expr.Mul'>, 28: <class 'tvm.tir.expr.Div'>, 29: <class 'tvm.tir.expr.Mod'>, 30: <class 'tvm.tir.expr.FloorDiv'>, 31: <class 'tvm.tir.expr.FloorMod'>, 32: <class 'tvm.tir.expr.Min'>, 33: <class 'tvm.tir.expr.Max'>, 34: <class 'tvm.tir.expr.EQ'>, 35: <class 'tvm.tir.expr.NE'>, 36: <class 'tvm.tir.expr.LT'>, 37: <class 'tvm.tir.expr.LE'>, 38: <class 'tvm.tir.expr.GT'>, 39: <class 'tvm.tir.expr.GE'>, 40: <class 'tvm.tir.expr.And'>, 41: <class 'tvm.tir.expr.Or'>, 42: <class 'tvm.tir.expr.Not'>, 43: <class 'tvm.tir.expr.Select'>, 44: <class 'tvm.tir.expr.Load'>, 45: <class 'tvm.tir.expr.Ramp'>, 46: <class 'tvm.tir.expr.Broadcast'>, 47: <class 'tvm.tir.expr.Let'>, 48: <class 'tvm.tir.expr.Call'>, 49: <class 'tvm.tir.expr.Shuffle'>, 51: <class 'tvm.ir.adt.Constructor'>, 52: <class 'tvm.ir.expr.GlobalVar'>, 53: <class 'tvm.ir.op.Op'>, 55: <class 'tvm.tir.function.PrimFunc'>, 56: <class 'tvm.relay.function.Function'>, 58: <class 'tvm.relay.adt.Match'>, 59: <class 'tvm.relay.expr.Constant'>, 60: <class 'tvm.relay.expr.Tuple'>, 61: <class 'tvm.relay.expr.Var'>, 62: <class 'tvm.relay.expr.Call'>, 63: <class 'tvm.relay.expr.Let'>, 64: <class 'tvm.relay.expr.If'>, 65: <class 'tvm.relay.expr.TupleGetItem'>, 66: <class 'tvm.relay.expr.RefCreate'>, 67: <class 'tvm.relay.expr.RefRead'>, 68: <class 'tvm.relay.expr.RefWrite'>, 69: <class 'tvm.relay.op.op.OpSpecialization'>, 70: <class 'tvm.relay.op.op.OpStrategy'>, 73: <class 'tvm.arith.analyzer.ConstIntBound'>, 74: <class 'tvm.arith.int_solver.IntGroupBounds'>, 75: <class 'tvm.arith.int_solver.IntConstraints'>, 76: <class 'tvm.arith.int_solver.IntConstraintsTransform'>, 78: <class 'tvm.ir.type.PrimType'>, 79: <class 'tvm.ir.adt.TypeData'>, 81: <class 'tvm.ir.tensor_type.TensorType'>, 82: <class 'tvm.ir.type.PointerType'>, 83: <class 'tvm.ir.type.TypeVar'>, 84: <class 'tvm.ir.type.GlobalTypeVar'>, 85: <class 'tvm.ir.type.FuncType'>, 86: <class 'tvm.ir.type.TupleType'>, 87: <class 'tvm.ir.type.IncompleteType'>, 88: <class 'tvm.ir.type.RelayRefType'>, 89: <class 'tvm.ir.type_relation.TypeCall'>, 90: <class 'tvm.ir.type.TypeConstraint'>, 91: <class 'tvm.ir.type_relation.TypeRelation'>, 93: <class 'tvm.arith.int_set.IntervalSet'>, 94: <class 'tvm.arith.iter_affine_map.IterMark'>, 96: <class 'tvm.arith.analyzer.ModularSet'>, 97: <class 'tvm.auto_scheduler.search_task.TuningOptions'>, 98: <class 'tvm.auto_scheduler.compute_dag.ComputeDAG'>, 100: <class 'tvm.auto_scheduler.cost_model.cost_model.CostModel'>, 101: <class 'tvm.auto_scheduler.cost_model.cost_model.RandomModel'>, 102: <class 'tvm.auto_scheduler.cost_model.cost_model.PythonBasedModel'>, 104: <class 'tvm.auto_scheduler.loop_state.Stage'>, 105: <class 'tvm.auto_scheduler.loop_state.StateObject'>, 106: <class 'tvm.auto_scheduler.loop_state.Iterator'>, 107: <class 'tvm.auto_scheduler.measure.MeasureInput'>, 108: <class 'tvm.auto_scheduler.measure.BuildResult'>, 109: <class 'tvm.auto_scheduler.measure.MeasureResult'>, 110: <class 'tvm.auto_scheduler.measure.MeasureCallback'>, 111: <class 'tvm.auto_scheduler.measure.PythonBasedMeasureCallback'>, 112: <class 'tvm.auto_scheduler.measure.ProgramRunner'>, 113: <class 'tvm.auto_scheduler.measure.ProgramBuilder'>, 114: <class 'tvm.auto_scheduler.measure.ProgramMeasurer'>, 115: <class 'tvm.auto_scheduler.measure.LocalBuilder'>, 116: <class 'tvm.auto_scheduler.measure.LocalRunner'>, 117: <class 'tvm.auto_scheduler.measure.RPCRunner'>, 118: <class 'tvm.auto_scheduler.measure_record.RecordToFile'>, 119: <class 'tvm.auto_scheduler.measure_record.RecordReader'>, 120: <class 'tvm.auto_scheduler.search_policy.SearchPolicy'>, 121: <class 'tvm.auto_scheduler.search_policy.EmptyPolicy'>, 122: <class 'tvm.auto_scheduler.search_policy.SearchCallback'>, 123: <class 'tvm.auto_scheduler.search_policy.PreloadMeasuredStates'>, 124: <class 'tvm.auto_scheduler.search_policy.SketchPolicy'>, 125: <class 'tvm.auto_scheduler.search_policy.PreloadCustomSketchRule'>, 126: <class 'tvm.auto_scheduler.search_task.HardwareParams'>, 127: <class 'tvm.auto_scheduler.search_task.SearchTask'>, 129: <class 'tvm.ir.affine_type.TensorAffineType'>, 130: <class 'tvm.ir.affine_type.TupleAffineType'>, 131: <class 'tvm.ir.attrs.Attrs'>, 132: <class 'tvm.ir.attrs.DictAttrs'>, 134: <class 'tvm.ir.diagnostics.Diagnostic'>, 135: <class 'tvm.ir.diagnostics.DiagnosticRenderer'>, 136: <class 'tvm.ir.diagnostics.DiagnosticContext'>, 137: <class 'tvm.ir.base.EnvFunc'>, 138: <class 'tvm.ir.expr.Range'>, 140: <class 'tvm.ir.instrument.PassTimingInstrument'>, 141: <class 'tvm.ir.memory_pools.PoolInfo'>, 142: <class 'tvm.ir.memory_pools.PoolInfoProperties'>, 143: <class 'tvm.ir.memory_pools.WorkspacePoolInfo'>, 144: <class 'tvm.ir.memory_pools.ConstantInfo'>, 145: <class 'tvm.ir.memory_pools.ConstantPoolInfo'>, 146: <class 'tvm.ir.memory_pools.WorkspaceMemoryPools'>, 147: <class 'tvm.ir.memory_pools.AllocatedPoolInfo'>, 148: <class 'tvm.ir.module.IRModule'>, 150: <class 'tvm.ir.base.SourceName'>, 151: <class 'tvm.ir.base.Span'>, 152: <class 'tvm.ir.transform.PassInfo'>, 153: <class 'tvm.ir.transform.Pass'>, 154: <class 'tvm.ir.transform.ModulePass'>, 155: <class 'tvm.ir.transform.Sequential'>, 156: <class 'tvm.ir.transform.PassContext'>, 157: <class 'tvm.meta_schedule.arg_info.ArgInfo'>, 158: <class 'tvm.meta_schedule.arg_info.TensorInfo'>, 159: <class 'tvm.meta_schedule.builder.builder.BuilderInput'>, 160: <class 'tvm.meta_schedule.builder.builder.BuilderResult'>, 161: <class 'tvm.meta_schedule.builder.builder.Builder'>, 162: <class 'tvm.meta_schedule.builder.builder._PyBuilder'>, 163: <class 'tvm.meta_schedule.cost_model.cost_model.CostModel'>, 164: <class 'tvm.meta_schedule.cost_model.cost_model._PyCostModel'>, 165: <class 'tvm.meta_schedule.database.database.Workload'>, 166: <class 'tvm.meta_schedule.database.database.TuningRecord'>, 167: <class 'tvm.meta_schedule.database.database.Database'>, 168: <class 'tvm.meta_schedule.database.database._PyDatabase'>, 169: <class 'tvm.meta_schedule.database.json_database.JSONDatabase'>, 170: <class 'tvm.meta_schedule.database.memory_database.MemoryDatabase'>, 171: <class 'tvm.meta_schedule.database.ordered_union_database.OrderedUnionDatabase'>, 172: <class 'tvm.meta_schedule.database.schedule_fn_database.ScheduleFnDatabase'>, 173: <class 'tvm.meta_schedule.database.union_database.UnionDatabase'>, 174: <class 'tvm.meta_schedule.extracted_task.ExtractedTask'>, 175: <class 'tvm.meta_schedule.feature_extractor.feature_extractor.FeatureExtractor'>, 176: <class 'tvm.meta_schedule.feature_extractor.feature_extractor._PyFeatureExtractor'>, 177: <class 'tvm.meta_schedule.feature_extractor.per_store_feature.PerStoreFeature'>, 178: <class 'tvm.meta_schedule.measure_callback.measure_callback.MeasureCallback'>, 179: <class 'tvm.meta_schedule.measure_callback.add_to_database.AddToDatabase'>, 180: <class 'tvm.meta_schedule.measure_callback.measure_callback._PyMeasureCallback'>, 181: <class 'tvm.meta_schedule.measure_callback.remove_build_artifact.RemoveBuildArtifact'>, 182: <class 'tvm.meta_schedule.measure_callback.update_cost_model.UpdateCostModel'>, 184: <class 'tvm.meta_schedule.mutator.mutate_compute_location.MutateComputeLocation'>, 185: <class 'tvm.meta_schedule.mutator.mutate_parallel.MutateParallel'>, 186: <class 'tvm.meta_schedule.mutator.mutate_thread_binding.MutateThreadBinding'>, 187: <class 'tvm.meta_schedule.mutator.mutate_tile_size.MutateTileSize'>, 188: <class 'tvm.meta_schedule.mutator.mutate_unroll.MutateUnroll'>, 189: <class 'tvm.meta_schedule.mutator.mutator._PyMutator'>, 190: <class 'tvm.meta_schedule.postproc.postproc.Postproc'>, 191: <class 'tvm.meta_schedule.postproc.disallow_dynamic_loop.DisallowDynamicLoop'>, 192: <class 'tvm.meta_schedule.postproc.postproc._PyPostproc'>, 193: <class 'tvm.meta_schedule.postproc.rewrite_cooperative_fetch.RewriteCooperativeFetch'>, 194: <class 'tvm.meta_schedule.postproc.rewrite_layout.RewriteLayout'>, 195: <class 'tvm.meta_schedule.postproc.rewrite_parallel_vectorize_unroll.RewriteParallelVectorizeUnroll'>, 196: <class 'tvm.meta_schedule.postproc.rewrite_reduction_block.RewriteReductionBlock'>, 197: <class 'tvm.meta_schedule.postproc.rewrite_tensorize.RewriteTensorize'>, 198: <class 'tvm.meta_schedule.postproc.rewrite_unbound_block.RewriteUnboundBlock'>, 199: <class 'tvm.meta_schedule.postproc.verify_gpu_code.VerifyGPUCode'>, 200: <class 'tvm.meta_schedule.profiler.Profiler'>, 201: <class 'tvm.meta_schedule.runner.runner.RunnerInput'>, 202: <class 'tvm.meta_schedule.runner.runner.RunnerResult'>, 203: <class 'tvm.meta_schedule.runner.runner.RunnerFuture'>, 204: <class 'tvm.meta_schedule.runner.runner.Runner'>, 205: <class 'tvm.meta_schedule.runner.runner._PyRunner'>, 206: <class 'tvm.meta_schedule.schedule_rule.schedule_rule.ScheduleRule'>, 207: <class 'tvm.meta_schedule.schedule_rule.add_rfactor.AddRFactor'>, 208: <class 'tvm.meta_schedule.schedule_rule.apply_custom_rule.ApplyCustomRule'>, 209: <class 'tvm.meta_schedule.schedule_rule.auto_bind.AutoBind'>, 210: <class 'tvm.meta_schedule.schedule_rule.auto_inline.AutoInline'>, 211: <class 'tvm.meta_schedule.schedule_rule.auto_inline.InlineConstantScalars'>, 212: <class 'tvm.meta_schedule.schedule_rule.cross_thread_reduction.CrossThreadReduction'>, 214: <class 'tvm.meta_schedule.schedule_rule.multi_level_tiling.MultiLevelTiling'>, 216: <class 'tvm.meta_schedule.schedule_rule.multi_level_tiling.MultiLevelTilingTensorCore'>, 217: <class 'tvm.meta_schedule.schedule_rule.multi_level_tiling.MultiLevelTilingWideVector'>, 218: <class 'tvm.meta_schedule.schedule_rule.multi_level_tiling.MultiLevelTilingWithIntrin'>, 219: <class 'tvm.meta_schedule.schedule_rule.parallel_vectorize_unroll.ParallelizeVectorizeUnroll'>, 220: <class 'tvm.meta_schedule.schedule_rule.random_compute_location.RandomComputeLocation'>, 221: <class 'tvm.meta_schedule.schedule_rule.schedule_rule._PyScheduleRule'>, 222: <class 'tvm.meta_schedule.search_strategy.search_strategy.SearchStrategy'>, 223: <class 'tvm.meta_schedule.search_strategy.evolutionary_search.EvolutionarySearch'>, 224: <class 'tvm.meta_schedule.search_strategy.replay_func.ReplayFunc'>, 225: <class 'tvm.meta_schedule.search_strategy.replay_trace.ReplayTrace'>, 226: <class 'tvm.meta_schedule.search_strategy.search_strategy.MeasureCandidate'>, 227: <class 'tvm.meta_schedule.search_strategy.search_strategy._PySearchStrategy'>, 228: <class 'tvm.meta_schedule.space_generator.space_generator.SpaceGenerator'>, 229: <class 'tvm.meta_schedule.space_generator.post_order_apply.PostOrderApply'>, 230: <class 'tvm.meta_schedule.space_generator.schedule_fn.ScheduleFn'>, 231: <class 'tvm.meta_schedule.space_generator.space_generator._PySpaceGenerator'>, 232: <class 'tvm.meta_schedule.space_generator.space_generator_union.SpaceGeneratorUnion'>, 233: <class 'tvm.meta_schedule.task_scheduler.task_scheduler.TaskScheduler'>, 234: <class 'tvm.meta_schedule.task_scheduler.gradient_based.GradientBased'>, 235: <class 'tvm.meta_schedule.task_scheduler.round_robin.RoundRobin'>, 236: <class 'tvm.meta_schedule.task_scheduler.task_scheduler.TaskRecord'>, 237: <class 'tvm.meta_schedule.task_scheduler.task_scheduler._PyTaskScheduler'>, 238: <class 'tvm.meta_schedule.tune_context.TuneContext'>, 239: <class 'tvm.runtime.object_path.ObjectPath'>, 240: <class 'tvm.runtime.object_path.RootPath'>, 241: <class 'tvm.runtime.object_path.AttributeAccessPath'>, 242: <class 'tvm.runtime.object_path.UnknownAttributeAccessPath'>, 243: <class 'tvm.runtime.object_path.ArrayIndexPath'>, 244: <class 'tvm.runtime.object_path.MissingArrayElementPath'>, 245: <class 'tvm.runtime.object_path.MapValuePath'>, 246: <class 'tvm.runtime.object_path.MissingMapEntryPath'>, 247: <class 'tvm.runtime.object_path.ObjectPathPair'>, 248: <class 'tvm.runtime.profiling.Report'>, 249: <class 'tvm.runtime.profiling.Count'>, 250: <class 'tvm.runtime.profiling.Duration'>, 251: <class 'tvm.runtime.profiling.Percent'>, 252: <class 'tvm.runtime.profiling.Ratio'>, 256: <class 'tvm.parser.SourceMap'>, 280: <class 'tvm.tir.buffer.Buffer'>, 281: <class 'tvm.tir.expr.IterVar'>, 315: <class 'tvm.te.tensor.BaseComputeOp'>, 316: <class 'tvm.te.tensor.ComputeOp'>, 317: <class 'tvm.te.tensor.ExternOp'>, 318: <class 'tvm.te.tensor.HybridOp'>, 319: <class 'tvm.te.tensor.PlaceholderOp'>, 320: <class 'tvm.te.tensor.ScanOp'>, 321: <class 'tvm.te.tensor.TensorComputeOp'>, 322: <class 'tvm.te.schedule.Stage'>, 325: <class 'tvm.te.schedule.Split'>, 326: <class 'tvm.te.schedule.Fuse'>, 328: <class 'tvm.te.schedule.Singleton'>, 329: <class 'tvm.te.schedule.Schedule'>, 330: <class 'tvm.te.schedule.SpecializedCondition'>, 331: <class 'tvm.tir.buffer.DataProducer'>, 332: <class 'tvm.te.tensor.Tensor'>, 333: <class 'tvm.te.tensor_intrin.TensorIntrin'>, 334: <class 'tvm.te.tensor.TensorIntrinCall'>, 335: <class 'tvm.tir.data_layout.Layout'>, 336: <class 'tvm.tir.data_layout.BijectiveLayout'>, 337: <class 'tvm.tir.expr.CommReducer'>, 338: <class 'tvm.tir.expr.Reduce'>, 339: <class 'tvm.tir.expr.Any'>, 340: <class 'tvm.tir.expr.BufferLoad'>, 341: <class 'tvm.tir.expr.ProducerLoad'>, 342: <class 'tvm.tir.function.TensorIntrin'>, 343: <class 'tvm.tir.function.IndexMap'>, 345: <class 'tvm.tir.stmt.LetStmt'>, 346: <class 'tvm.tir.stmt.AttrStmt'>, 347: <class 'tvm.tir.stmt.AssertStmt'>, 348: <class 'tvm.tir.stmt.For'>, 349: <class 'tvm.tir.stmt.While'>, 350: <class 'tvm.tir.stmt.Store'>, 351: <class 'tvm.tir.stmt.ProducerStore'>, 352: <class 'tvm.tir.stmt.Allocate'>, 353: <class 'tvm.tir.stmt.AllocateConst'>, 354: <class 'tvm.tir.stmt.DeclBuffer'>, 355: <class 'tvm.tir.stmt.ProducerRealize'>, 356: <class 'tvm.tir.stmt.Prefetch'>, 357: <class 'tvm.tir.stmt.SeqStmt'>, 358: <class 'tvm.tir.stmt.IfThenElse'>, 359: <class 'tvm.tir.stmt.Evaluate'>, 360: <class 'tvm.tir.stmt.BufferStore'>, 361: <class 'tvm.tir.stmt.BufferRealize'>, 362: <class 'tvm.tir.stmt.BufferRegion'>, 363: <class 'tvm.tir.stmt.MatchBufferRegion'>, 364: <class 'tvm.tir.stmt.Block'>, 365: <class 'tvm.tir.stmt.BlockRealize'>, 366: <class 'tvm.tir.transform.function_pass.PrimFuncPass'>, 367: <class 'tvm.tir.schedule.analysis.TensorizeInfo'>, 368: <class 'tvm.tir.schedule.analysis.AutoTensorizeMappingInfo'>, 369: <class 'tvm.tir.schedule.block_scope.StmtSRef'>, 370: <class 'tvm.tir.schedule.block_scope.Dependency'>, 371: <class 'tvm.tir.schedule.block_scope.BlockScope'>, 372: <class 'tvm.tir.schedule.instruction.Instruction'>, 373: <class 'tvm.tir.schedule.instruction.InstructionKind'>, 374: <class 'tvm.tir.schedule.schedule.BlockRV'>, 375: <class 'tvm.tir.schedule.schedule.LoopRV'>, 376: <class 'tvm.tir.schedule.schedule.Schedule'>, 377: <class 'tvm.tir.schedule.state.ScheduleState'>, 378: <class 'tvm.tir.schedule.trace.Trace'>, 385: <class 'tvm.tir.usmp.utils.BufferInfo'>, 386: <class 'tvm.tir.usmp.utils.PoolAllocation'>, 388: <class 'tvm.target.generic_func.GenericFunc'>, 395: <class 'tvm.target.target.Target'>, 397: <class 'tvm.target.target.TargetKind'>, 398: <class 'tvm.target.virtual_device.VirtualDevice'>, 399: <class 'tvm.relay.op.op_attrs.ArgsortAttrs'>, 400: <class 'tvm.relay.op.op_attrs.SearchSortedAttrs'>, 401: <class 'tvm.relay.op.op_attrs.TopkAttrs'>, 402: <class 'tvm.relay.op.op_attrs.CastHintAttrs'>, 403: <class 'tvm.relay.op.op_attrs.CompilerAttrs'>, 411: <class 'tvm.relay.op.op_attrs.DebugAttrs'>, 412: <class 'tvm.relay.op.op_attrs.Resize2DAttrs'>, 413: <class 'tvm.relay.op.op_attrs.PadAttrs'>, 414: <class 'tvm.relay.op.op_attrs.UpSamplingAttrs'>, 415: <class 'tvm.relay.op.op_attrs.UpSampling3DAttrs'>, 416: <class 'tvm.relay.op.op_attrs.ReshapeAttrs'>, 417: <class 'tvm.relay.op.op_attrs.TileAttrs'>, 418: <class 'tvm.relay.op.op_attrs.InitOpAttrs'>, 419: <class 'tvm.relay.op.op_attrs.OneHotAttrs'>, 420: <class 'tvm.relay.op.op_attrs.StridedSliceAttrs'>, 421: <class 'tvm.relay.op.op_attrs.DynExpandDimsAttrs'>, 422: <class 'tvm.relay.op.op_attrs.SqueezeAttrs'>, 423: <class 'tvm.relay.op.op_attrs.Dilation2DAttrs'>, 424: <class 'tvm.relay.op.op_attrs.AffineGridAttrs'>, 425: <class 'tvm.relay.op.op_attrs.GridSampleAttrs'>, 426: <class 'tvm.relay.op.op_attrs.Resize1DAttrs'>, 427: <class 'tvm.relay.op.op_attrs.Resize3DAttrs'>, 428: <class 'tvm.relay.op.op_attrs.CropAndResizeAttrs'>, 429: <class 'tvm.relay.op.op_attrs.DeviceCopyAttrs'>, 430: <class 'tvm.relay.op.op_attrs.AllocStorageAttrs'>, 431: <class 'tvm.relay.op.op_attrs.AllocTensorAttrs'>, 432: <class 'tvm.relay.op.op_attrs.OnDeviceAttrs'>, 433: <class 'tvm.relay.op.op_attrs.BitPackAttrs'>, 434: <class 'tvm.relay.op.op_attrs.BinaryConv2DAttrs'>, 435: <class 'tvm.relay.op.op_attrs.BinaryDenseAttrs'>, 436: <class 'tvm.relay.op.op_attrs.Conv1DAttrs'>, 437: <class 'tvm.relay.op.op_attrs.Conv2DAttrs'>, 438: <class 'tvm.relay.op.op_attrs.Conv3DAttrs'>, 439: <class 'tvm.relay.op.op_attrs.Conv3DTransposeAttrs'>, 440: <class 'tvm.relay.op.op_attrs.Conv2DTransposeAttrs'>, 441: <class 'tvm.relay.op.op_attrs.Conv1DTransposeAttrs'>, 442: <class 'tvm.relay.op.op_attrs.Conv2DWinogradAttrs'>, 443: <class 'tvm.relay.op.op_attrs.ConvWinogradWeightTransformAttrs'>, 444: <class 'tvm.relay.op.op_attrs.Conv3DWinogradAttrs'>, 445: <class 'tvm.relay.op.op_attrs.Conv2DWinogradNNPACKWeightTransformAttrs'>, 447: <class 'tvm.relay.op.op_attrs.DeformableConv2DAttrs'>, 448: <class 'tvm.relay.op.op_attrs.CorrelationAttrs'>, 449: <class 'tvm.relay.op.op_attrs.BiasAddAttrs'>, 450: <class 'tvm.relay.op.op_attrs.FIFOBufferAttrs'>, 451: <class 'tvm.relay.op.op_attrs.MatmulAttrs'>, 452: <class 'tvm.relay.op.op_attrs.DenseAttrs'>, 453: <class 'tvm.relay.op.op_attrs.DensePackAttrs'>, 454: <class 'tvm.relay.op.op_attrs.LeakyReluAttrs'>, 455: <class 'tvm.relay.op.op_attrs.PReluAttrs'>, 456: <class 'tvm.relay.op.op_attrs.SoftmaxAttrs'>, 457: <class 'tvm.relay.op.op_attrs.LRNAttrs'>, 458: <class 'tvm.relay.op.op_attrs.L2NormalizeAttrs'>, 459: <class 'tvm.relay.op.op_attrs.DropoutAttrs'>, 460: <class 'tvm.relay.op.op_attrs.BatchNormAttrs'>, 461: <class 'tvm.relay.op.op_attrs.InstanceNormAttrs'>, 462: <class 'tvm.relay.op.op_attrs.LayerNormAttrs'>, 463: <class 'tvm.relay.op.op_attrs.GroupNormAttrs'>, 464: <class 'tvm.relay.op.op_attrs.BatchMatmulAttrs'>, 465: <class 'tvm.relay.op.op_attrs.DilateAttrs'>, 466: <class 'tvm.relay.op.op_attrs.SubPixelAttrs'>, 467: <class 'tvm.relay.op.op_attrs.NLLLossAttrs'>, 468: <class 'tvm.relay.op.op_attrs.SpaceToBatchNDAttrs'>, 469: <class 'tvm.relay.op.op_attrs.BatchToSpaceNDAttrs'>, 470: <class 'tvm.relay.op.op_attrs.MirrorPadAttrs'>, 471: <class 'tvm.relay.op.op_attrs.MaxPool2DAttrs'>, 472: <class 'tvm.relay.op.op_attrs.AvgPool2DAttrs'>, 473: <class 'tvm.relay.op.op_attrs.GlobalPool2DAttrs'>, 475: <class 'tvm.relay.op.op_attrs.AdaptivePool2DAttrs'>, 476: <class 'tvm.relay.op.op_attrs.AdaptivePool3DAttrs'>, 477: <class 'tvm.relay.op.op_attrs.MaxPool1DAttrs'>, 478: <class 'tvm.relay.op.op_attrs.AvgPool1DAttrs'>, 479: <class 'tvm.relay.op.op_attrs.MaxPool3DAttrs'>, 480: <class 'tvm.relay.op.op_attrs.AvgPool3DAttrs'>, 481: <class 'tvm.relay.op.op_attrs.SparseDenseAttrs'>, 482: <class 'tvm.relay.op.op_attrs.SparseTransposeAttrs'>, 483: <class 'tvm.relay.op.op_attrs.SparseConv2DAttrs'>, 484: <class 'tvm.relay.op.op_attrs.ThreefryGenerateAttrs'>, 485: <class 'tvm.relay.op.op_attrs.UniformAttrs'>, 488: <class 'tvm.relay.op.op_attrs.EinsumAttrs'>, 489: <class 'tvm.relay.op.op_attrs.ReduceAttrs'>, 490: <class 'tvm.relay.op.op_attrs.ArgReduceAttrs'>, 491: <class 'tvm.relay.op.op_attrs.VarianceAttrs'>, 492: <class 'tvm.relay.op.op_attrs.SlidingWindowAttrs'>, 493: <class 'tvm.relay.op.op_attrs.CastAttrs'>, 494: <class 'tvm.relay.op.op_attrs.ExpandDimsAttrs'>, 495: <class 'tvm.relay.op.op_attrs.ConcatenateAttrs'>, 496: <class 'tvm.relay.op.op_attrs.StackAttrs'>, 497: <class 'tvm.relay.op.op_attrs.TransposeAttrs'>, 498: <class 'tvm.relay.op.op_attrs.ReshapeLikeAttrs'>, 499: <class 'tvm.relay.op.op_attrs.ScatterAttrs'>, 500: <class 'tvm.relay.op.op_attrs.ScatterAddAttrs'>, 501: <class 'tvm.relay.op.op_attrs.ScatterNDAttrs'>, 502: <class 'tvm.relay.op.op_attrs.TakeAttrs'>, 503: <class 'tvm.relay.op.op_attrs.ArangeAttrs'>, 504: <class 'tvm.relay.op.op_attrs.RepeatAttrs'>, 505: <class 'tvm.relay.op.op_attrs.StftAttrs'>, 506: <class 'tvm.relay.op.op_attrs.MeshgridAttrs'>, 507: <class 'tvm.relay.op.op_attrs.ReverseAttrs'>, 508: <class 'tvm.relay.op.op_attrs.ReverseSequenceAttrs'>, 509: <class 'tvm.relay.op.op_attrs.SplitAttrs'>, 510: <class 'tvm.relay.op.op_attrs.SliceLikeAttrs'>, 511: <class 'tvm.relay.op.op_attrs.LayoutTransformAttrs'>, 512: <class 'tvm.relay.op.op_attrs.AutoSchedulerLayoutTransformAttrs'>, 513: <class 'tvm.relay.op.op_attrs.MetaScheduleLayoutTransformAttrs'>, 514: <class 'tvm.relay.op.op_attrs.GatherAttrs'>, 515: <class 'tvm.relay.op.op_attrs.GatherNDAttrs'>, 516: <class 'tvm.relay.op.op_attrs.SequenceMaskAttrs'>, 517: <class 'tvm.relay.op.op_attrs.SparseToDenseAttrs'>, 518: <class 'tvm.relay.op.op_attrs.MatrixSetDiagAttrs'>, 519: <class 'tvm.relay.op.op_attrs.ScanopAttrs'>, 520: <class 'tvm.relay.op.op_attrs.UniqueAttrs'>, 521: <class 'tvm.relay.op.op_attrs.TriluAttrs'>, 523: <class 'tvm.relay.op.op_attrs.ClipAttrs'>, 524: <class 'tvm.relay.op.op_attrs.FixedPointMultiplyAttrs'>, 525: <class 'tvm.relay.op.op_attrs.ShapeOfAttrs'>, 526: <class 'tvm.relay.op.op_attrs.NdarraySizeAttrs'>, 527: <class 'tvm.relay.op.op_attrs.MultiBoxPriorAttrs'>, 528: <class 'tvm.relay.op.op_attrs.MultiBoxTransformLocAttrs'>, 529: <class 'tvm.relay.op.op_attrs.GetValidCountsAttrs'>, 530: <class 'tvm.relay.op.op_attrs.NonMaximumSuppressionAttrs'>, 531: <class 'tvm.relay.op.op_attrs.AllClassNonMaximumSuppressionAttrs'>, 532: <class 'tvm.relay.op.op_attrs.ROIAlignAttrs'>, 533: <class 'tvm.relay.op.op_attrs.ROIPoolAttrs'>, 534: <class 'tvm.relay.op.op_attrs.ProposalAttrs'>, 535: <class 'tvm.relay.op.op_attrs.YoloReorgAttrs'>, 536: <class 'tvm.relay.op.op_attrs.ShapeFuncAttrs'>, 549: <class 'tvm.relay.collage.collage.CostEstimator'>, 550: <class 'tvm.relay.collage.collage.MockCostEstimator'>, 565: <class 'tvm.relay.quantize._annotate.QAnnotateExpr'>, 566: <class 'tvm.relay.quantize._partition.QPartitionExpr'>, 567: <class 'tvm.relay.op.op_attrs.SimulatedQuantizeAttrs'>, 568: <class 'tvm.relay.quantize.quantize.QConfig'>, 570: <class 'tvm.relay.op.op_attrs.WithFuncIdAttrs'>, 571: <class 'tvm.relay.op.op_attrs.TupleGetItemAttrs'>, 572: <class 'tvm.relay.backend.executor.Executor'>, 574: <class 'tvm.relay.backend.interpreter.RefValue'>, 575: <class 'tvm.relay.backend.interpreter.ConstructorValue'>, 576: <class 'tvm.relay.backend.runtime.Runtime'>, 577: <class 'tvm.relay.backend.te_compiler.TECompiler'>, 578: <class 'tvm.relay.backend.te_compiler.LoweredOutput'>, 580: <class 'tvm.relay.backend.te_compiler.CCacheKey'>, 581: <class 'tvm.relay.backend.te_compiler.CCacheValue'>, 582: <class 'tvm.relay.expr.StorageInfo'>, 583: <class 'tvm.relay.expr.StaticMemoryPlan'>, 587: <class 'tvm.relay.adt.PatternWildcard'>, 588: <class 'tvm.relay.adt.PatternVar'>, 589: <class 'tvm.relay.adt.PatternConstructor'>, 590: <class 'tvm.relay.adt.PatternTuple'>, 591: <class 'tvm.relay.adt.Clause'>, 592: <class 'tvm.relay.base.Id'>, 595: <class 'tvm.relay.dataflow_pattern.ExprPattern'>, 596: <class 'tvm.relay.dataflow_pattern.VarPattern'>, 597: <class 'tvm.relay.dataflow_pattern.ConstantPattern'>, 598: <class 'tvm.relay.dataflow_pattern.CallPattern'>, 599: <class 'tvm.relay.dataflow_pattern.FunctionPattern'>, 600: <class 'tvm.relay.dataflow_pattern.LetPattern'>, 601: <class 'tvm.relay.dataflow_pattern.IfPattern'>, 602: <class 'tvm.relay.dataflow_pattern.TuplePattern'>, 603: <class 'tvm.relay.dataflow_pattern.TupleGetItemPattern'>, 604: <class 'tvm.relay.dataflow_pattern.AltPattern'>, 605: <class 'tvm.relay.dataflow_pattern.WildcardPattern'>, 606: <class 'tvm.relay.dataflow_pattern.TypePattern'>, 607: <class 'tvm.relay.dataflow_pattern.ShapePattern'>, 608: <class 'tvm.relay.dataflow_pattern.DataTypePattern'>, 609: <class 'tvm.relay.dataflow_pattern.AttrPattern'>, 610: <class 'tvm.relay.dataflow_pattern.DominatorPattern'>, 611: <class 'tvm.relay.op.op.OpImplementation'>, 612: <class 'tvm.relay.transform.transform.FunctionPass'>, 613: <class 'tvm.relay.op.op_attrs.BroadcastAttrs'>, 614: <class 'tvm.relay.op.op_attrs.DequantizeAttrs'>, 615: <class 'tvm.relay.op.op_attrs.QuantizeAttrs'>, 616: <class 'tvm.relay.op.op_attrs.RequantizeAttrs'>, 617: <class 'tvm.relay.qnn.op.qnn.RequantizeConfig'>, 638: <class 'tvm.runtime.profiling.DeviceWrapper'>, 639: <class 'tvm.runtime.profiling.MetricCollector'>}#
Maps object type to its type index
- class tvm._ffi._ctypes.object.ObjectBase[源代码]#
Base object for all object types
- __init_handle_by_constructor__(fconstructor, *args)[源代码]#
Initialize the handle by calling constructor function.
- fconstructorFunction
Constructor function.
- args: list of objects
The arguments to the constructor
We have a special calling convention to call constructor functions. So the return handle is directly set into the Node object instead of creating a new Node.
- class tvm._ffi._ctypes.object.PyNativeObject[源代码]#
Base class of all TVM objects that also subclass python’s builtin types.
- __init_tvm_object_by_constructor__(fconstructor, *args)[源代码]#
Initialize the internal tvm_object by calling constructor function.
- fconstructorFunction
Constructor function.
- args: list of objects
The arguments to the constructor
We have a special calling convention to call constructor functions. So the return object is directly set into the object
- tvm._ffi._ctypes.object.__init_by_constructor__(fconstructor, args)#
Maps object type index to its constructor