MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / stride

Method stride

oneflow/core/framework/tensor.h:82–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 virtual Maybe<bool> has_eager_blob_object() const = 0;
81 virtual Maybe<TensorStorage> tensor_storage() const { OF_UNIMPLEMENTED(); }
82 virtual Maybe<const Stride> stride() const { OF_UNIMPLEMENTED(); }
83 virtual Maybe<int64_t> storage_offset() const { OF_UNIMPLEMENTED(); }
84 virtual MemoryFormat memory_format() const = 0;
85

Callers 15

test_tensor_propertyMethod · 0.95
are_tensors_equalFunction · 0.45
_cmp_expand_strideFunction · 0.45
_cmp_lazy_expand_strideFunction · 0.45
test_same_dataMethod · 0.45
_test_unsqueezeFunction · 0.45
check_equalMethod · 0.45

Calls

no outgoing calls

Tested by 13

test_tensor_propertyMethod · 0.76
are_tensors_equalFunction · 0.36
_cmp_expand_strideFunction · 0.36
_cmp_lazy_expand_strideFunction · 0.36
test_same_dataMethod · 0.36
_test_unsqueezeFunction · 0.36
check_equalMethod · 0.36