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

Function get_tensor_shapes

tensorflow/lite/testing/generate_examples_lib.py:1843–1849  ·  view source on GitHub ↗
(parameters)

Source from the content-addressed store, hash-verified

1841 ]
1842
1843 def get_tensor_shapes(parameters):
1844 input_shape = parameters["input_shape"]
1845 filter_size = parameters["filter_shape"]
1846 filter_shape = filter_size + [
1847 input_shape[3], parameters["channel_multiplier"]
1848 ]
1849 return [input_shape, filter_shape]
1850
1851 def build_graph(parameters):
1852 """Build a conv graph given `parameters`."""

Callers 2

build_graphFunction · 0.85
build_inputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected