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

Method count

tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc:676–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674 : shape_(rhs.shape_), type_(rhs.type_), tensor_(rhs.tensor_) {}
675
676int64_t TRT_ShapedWeights::count() const {
677 return TrtWeightDimsNumElements(shape_);
678}
679
680nvinfer1::Weights TRT_ShapedWeights::GetTrtWeights() const {
681 return nvinfer1::Weights{type_, GetValues(), count()};

Callers 15

size_bytesMethod · 0.95
EraseDeadFuncsFunction · 0.45
ConvertOphintToStubFunction · 0.45
VerifyFunction · 0.45
AnalyzeRegionMethod · 0.45
SortTopologicallyFunction · 0.45
MergeIslandFunction · 0.45
runOnModuleMethod · 0.45
runOnModuleMethod · 0.45
BuildVariableAccessInfoFunction · 0.45

Calls 1

TrtWeightDimsNumElementsFunction · 0.85

Tested by 8

TESTFunction · 0.36
RemoveHloMethod · 0.36
ValidateSegmentMethod · 0.36
TEST_FFunction · 0.36
ValidateWeightsFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36