Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ tensor
Method
tensor
tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc:749–752 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
747
}
748
749
ITensorProxyPtr TRT_TensorOrWeights::tensor() const {
750
CHECK(is_tensor());
751
return tensor_proxy_ptr_;
752
}
753
754
nvinfer1::Dims TRT_TensorOrWeights::GetTrtDims() const {
755
if (is_tensor()) {
Callers
15
ToLiteral
Method · 0.45
TEST_F
Function · 0.45
main
Function · 0.45
matchAndRewrite
Method · 0.45
Verify
Function · 0.45
ConvertAttributeValue
Method · 0.45
ExtractConstTensorFromGraph
Function · 0.45
ReadVariablesFromSession
Method · 0.45
matchAndRewrite
Method · 0.45
Compute
Method · 0.45
SnapshotResourceVariables
Function · 0.45
PopulateOutputs
Method · 0.45
Calls
1
is_tensor
Function · 0.50
Tested by
15
TEST_F
Function · 0.36
TEST
Function · 0.36
TEST_F
Function · 0.36
TestMatMulHelper
Function · 0.36
TestConvertBiasAdd
Function · 0.36
TestBinaryOp
Function · 0.36
TestAddN
Function · 0.36
TestConvertSquare
Function · 0.36
TestConvertGather
Function · 0.36
TestConvertConcat
Function · 0.36
TestConvertSplit
Function · 0.36
TestConvertUnpack
Function · 0.36