Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
942
inline Tensor::Tensor(const Tensor& other)
943
: shape_(other.shape()), buf_(other.buf_) {
944
if (buf_) buf_->Ref();
945
}
946
947
inline Tensor::Tensor(Tensor&& other)
948
: shape_(std::move(other.shape_)), buf_(other.buf_) {
Callers
13
testDecodeExampleWithStringTensor
Method · 0.45
testDecodeExampleWithFloatTensor
Method · 0.45
testDecodeExampleWithInt64Tensor
Method · 0.45
testDecodeExampleWithVarLenTensor
Method · 0.45
testDecodeExampleWithFixLenTensorWithShape
Method · 0.45
testDecodeExampleWithVarLenTensorToDense
Method · 0.45
testDecodeExampleShapeKeyTensor
Method · 0.45
testDecodeExampleMultiShapeKeyTensor
Method · 0.45
testDecodeExampleWithTensor
Method · 0.45
testDecodeExampleWithBackupHandlerLookup
Method · 0.45
_create_tfrecord_dataset
Function · 0.45
TFE_TensorHandleResolve
Function · 0.45
Calls
3
AlignedMalloc
Function · 0.50
shape
Method · 0.45
Ref
Method · 0.45
Tested by
11
testDecodeExampleWithStringTensor
Method · 0.36
testDecodeExampleWithFloatTensor
Method · 0.36
testDecodeExampleWithInt64Tensor
Method · 0.36
testDecodeExampleWithVarLenTensor
Method · 0.36
testDecodeExampleWithFixLenTensorWithShape
Method · 0.36
testDecodeExampleWithVarLenTensorToDense
Method · 0.36
testDecodeExampleShapeKeyTensor
Method · 0.36
testDecodeExampleMultiShapeKeyTensor
Method · 0.36
testDecodeExampleWithTensor
Method · 0.36
testDecodeExampleWithBackupHandlerLookup
Method · 0.36
_create_tfrecord_dataset
Function · 0.36