Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tensorflow/tfjs
/ size
Method
size
tfjs-converter/src/executor/hash_table.ts:60–62 ·
view source on GitHub ↗
* The number of items in the hash table.
()
Source
from the content-addressed store, hash-verified
58
* The number of items in the hash table.
59
*/
60
size(): number {
61
return
this.tensorMap.size;
62
}
63
64
/**
65
* The number of items in the hash table as a rank-0 tensor.
Callers
15
tensorSize
Method · 0.95
table
Function · 0.45
testConvertTfjsLayersModelIntoShardedWeights
Method · 0.45
testConvertTfjsLayersModelWithLegacyQuantization
Method · 0.45
testConvertTfjsLayersModelWithQuantization
Method · 0.45
testSavedModelSucceedsForCustomShardSize
Method · 0.45
testConvertSavedKerasModeltoTfLayersModelSharded
Method · 0.45
testConvertTfjsLayersModelToShardedWeights
Method · 0.45
testConvertTfjsLayersModelWithShardSizeGreaterThanTotalWeightSize
Method · 0.45
testConvertTfjsLayersModelWithUint16Quantization
Method · 0.45
testConvertTfjsLayersModelWithUint8Quantization
Method · 0.45
tensor_list_test.ts
File · 0.45
Calls
no outgoing calls
Tested by
9
testConvertTfjsLayersModelIntoShardedWeights
Method · 0.36
testConvertTfjsLayersModelWithLegacyQuantization
Method · 0.36
testConvertTfjsLayersModelWithQuantization
Method · 0.36
testSavedModelSucceedsForCustomShardSize
Method · 0.36
testConvertSavedKerasModeltoTfLayersModelSharded
Method · 0.36
testConvertTfjsLayersModelToShardedWeights
Method · 0.36
testConvertTfjsLayersModelWithShardSizeGreaterThanTotalWeightSize
Method · 0.36
testConvertTfjsLayersModelWithUint16Quantization
Method · 0.36
testConvertTfjsLayersModelWithUint8Quantization
Method · 0.36