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

Function build_inputs

tensorflow/lite/testing/generate_examples_lib.py:304–307  ·  view source on GitHub ↗
(parameters, sess, inputs, outputs)

Source from the content-addressed store, hash-verified

302 return [input_tensor], [out]
303
304 def build_inputs(parameters, sess, inputs, outputs):
305 input_values = create_tensor_data(tf.float32, parameters["input_shape"])
306 return [input_values], sess.run(
307 outputs, feed_dict=dict(zip(inputs, [input_values])))
308
309 extra_toco_options = ExtraTocoOptions()
310 extra_toco_options.drop_control_dependency = True

Callers

nothing calls this directly

Calls 12

create_tensor_dataFunction · 0.85
get_tensor_shapesFunction · 0.85
create_scalar_dataFunction · 0.85
variable_scopeMethod · 0.80
reshapeMethod · 0.80
get_shapeFunction · 0.70
rangeFunction · 0.50
runMethod · 0.45
appendMethod · 0.45
assignMethod · 0.45
get_variableMethod · 0.45
groupMethod · 0.45

Tested by

no test coverage detected