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

Method Tensor

tensorflow/core/framework/tensor.h:942–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

940}
941
942inline Tensor::Tensor(const Tensor& other)
943 : shape_(other.shape()), buf_(other.buf_) {
944 if (buf_) buf_->Ref();
945}
946
947inline Tensor::Tensor(Tensor&& other)
948 : shape_(std::move(other.shape_)), buf_(other.buf_) {

Calls 3

AlignedMallocFunction · 0.50
shapeMethod · 0.45
RefMethod · 0.45