MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / size

Method size

tensorflow/core/framework/tensor.cc:135–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 Buffer(Allocator* a, int64 n, const AllocationAttributes& allocation_attr);
134
135 size_t size() const override { return sizeof(T) * elem_; }
136
137 private:
138 T* data_;

Callers 15

TESTFunction · 0.45
MkTensorFunction · 0.45
lengthMethod · 0.45
PopBatchMethod · 0.45
BatchDeallocateMethod · 0.45
~ThreadLocalBinMethod · 0.45
BatchAllocateMethod · 0.45
DeallocateMethod · 0.45
AllocatedSizeMethod · 0.45
ReleaseMethod · 0.45
MaybeInitAccessThreadMethod · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
MkTensorFunction · 0.36
ExpectSuccessMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
InferShapesMethod · 0.36
TESTFunction · 0.36
BM_AllocationFunction · 0.36
DecodeMethod · 0.36
TESTFunction · 0.36
ExpectEqualMethod · 0.36