MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / count_params

Method count_params

tensorflow/python/layers/base.py:956–975  ·  view source on GitHub ↗

Count the total number of scalars composing the weights. Returns: An integer count. Raises: ValueError: if the layer isn't yet built (in which case its weights aren't yet defined).

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

test_count_paramsMethod · 0.80
test_count_paramsMethod · 0.80
print_layer_summaryFunction · 0.80
print_summaryFunction · 0.80

Calls 4

buildMethod · 0.95
sumFunction · 0.85
as_listMethod · 0.80
get_shapeMethod · 0.45

Tested by 2

test_count_paramsMethod · 0.64
test_count_paramsMethod · 0.64