MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / __init__

Method __init__

python/cuda_tile/dialects/cuda_tile_ops.py:1075–1081  ·  view source on GitHub ↗
(self, value: _ods_ir.Value, type: _ods_ir.Type)

Source from the content-addressed store, hash-verified

1073 value: _ods_ir.Value
1074
1075 def __init__(self, value: _ods_ir.Value, type: _ods_ir.Type):
1076 tensor_view_type = TensorViewType(type)
1077 if isinstance(value, _ods_ir.Value) is False:
1078 raise Exception("TensorView value is not IR Value")
1079 super().__init__(value)
1080 self.tensor_view_type = tensor_view_type
1081 self.value = value
1082
1083 @property
1084 def element_type(self):

Callers

nothing calls this directly

Calls 2

TensorViewTypeClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected