Home
last modified time | relevance | path

Searched refs:input_layer (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/lite/testing/
Dgenerate_testspec.cc43 const std::vector<string>& input_layer, in GenerateInputValues() argument
47 input_values.resize(input_layer.size()); in GenerateInputValues()
48 for (int i = 0; i < input_layer.size(); i++) { in GenerateInputValues()
82 const std::vector<string>& input_layer, in GenerateTestSpecFromTensorflowModel() argument
86 CHECK_EQ(input_layer.size(), input_layer_type.size()); in GenerateTestSpecFromTensorflowModel()
87 CHECK_EQ(input_layer.size(), input_layer_shape.size()); in GenerateTestSpecFromTensorflowModel()
90 TfDriver runner(input_layer, input_layer_type, input_layer_shape, in GenerateTestSpecFromTensorflowModel()
116 GenerateInputValues(input_layer, input_layer_type, input_layer_shape); in GenerateTestSpecFromTensorflowModel()
Dtf_driver.cc105 TfDriver::TfDriver(const std::vector<string>& input_layer, in TfDriver() argument
109 : input_names_(input_layer), output_names_(output_layer) { in TfDriver()
110 CHECK_EQ(input_layer.size(), input_layer_type.size()); in TfDriver()
111 CHECK_EQ(input_layer.size(), input_layer_shape.size()); in TfDriver()
113 input_ids_.resize(input_layer.size()); in TfDriver()
114 input_tensors_.reserve(input_layer.size()); in TfDriver()
115 input_types_.resize(input_layer.size()); in TfDriver()
116 input_shapes_.resize(input_layer.size()); in TfDriver()
117 for (int i = 0; i < input_layer.size(); i++) { in TfDriver()
119 input_tensors_[input_layer[i]] = {}; in TfDriver()
Dtflite_diff_flags.h31 string input_layer; in ParseTfliteDiffFlags() member
44 tensorflow::Flag("input_layer", &values.input_layer, in ParseTfliteDiffFlags()
69 values.input_layer.empty() || values.input_layer_type.empty() || in ParseTfliteDiffFlags()
80 Split<string>(values.input_layer, ","), in ParseTfliteDiffFlags()
Dtflite_diff_util.h33 std::vector<string> input_layer; member
Dtflite_diff_util.cc32 num_invocations, options.input_layer, options.input_layer_type, in RunDiffTest()
Dgenerate_testspec.h43 const std::vector<string>& input_layer,
/external/tensorflow/tensorflow/examples/label_image/
Dlabel_image.py84 input_layer = "input" variable
113 if args.input_layer:
114 input_layer = args.input_layer variable
126 input_name = "import/" + input_layer
Dmain.cc290 string input_layer = "input"; in main() local
303 Flag("input_layer", &input_layer, "name of input layer"), in main()
347 Status run_status = session->Run({{input_layer, resized_tensor}}, in main()
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column_test.py130 input_layer, sequence_length = sequence_input_layer({
141 self.assertAllEqual(expected_input_layer, self.evaluate(input_layer))
221 input_layer, sequence_length = sequence_input_layer({
232 input_layer.eval(session=sess))
329 input_layer, sequence_length = sequence_input_layer({
332 self.assertAllEqual(expected_input_layer, self.evaluate(input_layer))
390 input_layer, sequence_length = sequence_input_layer({'aaa': sparse_input})
392 self.assertAllEqual(expected_input_layer, self.evaluate(input_layer))
434 input_layer, sequence_length = sequence_input_layer({'aaa': sparse_input})
436 self.assertAllEqual(expected_input_layer, self.evaluate(input_layer))
[all …]
Dsequence_feature_column_integration_test.py95 input_layer = fc.DenseFeatures(ctx_cols)
96 ctx_layer = input_layer(features)
97 input_layer = sfc.concatenate_context_input(ctx_layer, seq_layer)
100 output = rnn_layer(input_layer)
Dfeature_column_test.py1711 input_layer = fc.input_layer(
1718 input_layer_inputs = [tensor for tensor in input_layer.op.inputs[:-1]]
2639 input_layer = InputLayer(fc._numeric_column('a'))
2640 inputs = self.evaluate(input_layer(features))
2669 input_layer = InputLayer([embedding_column])
2672 inputs = input_layer(features)
2673 variables = input_layer.variables
2683 _ = input_layer(features)
2685 self.assertEqual(variables[0], input_layer.variables[0])
2714 input_layer = InputLayer([embedding_column])
[all …]
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/
Dsequence_feature_column_test.py124 input_layer, sequence_length = sfc.sequence_input_layer(
140 self.assertAllEqual(expected_input_layer, input_layer.eval(session=sess))
216 input_layer, sequence_length = sfc.sequence_input_layer(
229 self.assertAllEqual(expected_input_layer, input_layer.eval(session=sess))
324 input_layer, sequence_length = sfc.sequence_input_layer(
333 self.assertAllEqual(expected_input_layer, input_layer.eval(session=sess))
389 input_layer, sequence_length = sfc.sequence_input_layer(
394 self.assertAllEqual(expected_input_layer, input_layer.eval(session=sess))
434 input_layer, sequence_length = sfc.sequence_input_layer(
439 self.assertAllEqual(expected_input_layer, input_layer.eval(session=sess))
[all …]
Dsequence_feature_column_integration_test.py94 ctx_layer = fc.input_layer(features, ctx_cols)
95 input_layer = sfc.concatenate_context_input(ctx_layer, seq_layer)
98 output = rnn_layer(input_layer)
/external/tensorflow/tensorflow/python/keras/engine/
D__init__.py24 from tensorflow.python.keras.engine.input_layer import Input
25 from tensorflow.python.keras.engine.input_layer import InputLayer
Dsequential.py26 from tensorflow.python.keras.engine import input_layer
118 if layers and isinstance(layers[0], input_layer.InputLayer):
146 if isinstance(origin_layer, input_layer.InputLayer):
156 if isinstance(layer, input_layer.InputLayer):
164 x = input_layer.Input(
Dinput_layer.py227 input_layer = InputLayer(
236 outputs = input_layer._inbound_nodes[0].output_tensors
/external/tensorflow/tensorflow/python/keras/layers/
Dserialization.py26 from tensorflow.python.keras.engine.input_layer import Input
27 from tensorflow.python.keras.engine.input_layer import InputLayer
/external/tensorflow/tensorflow/python/util/
Dserialization_test.py26 from tensorflow.python.keras.engine import input_layer
63 x = input_layer.Input(shape=[3])
/external/tensorflow/tensorflow/python/keras/
Dmodels.py28 from tensorflow.python.keras.engine.input_layer import Input
29 from tensorflow.python.keras.engine.input_layer import InputLayer
246 input_layer = input_tensor._keras_history[0]
247 return Sequential(layers=[input_layer] + layers, name=model.name)
/external/tensorflow/tensorflow/tools/benchmark/
DREADME.md37 --input_layer="input:0" \
53 --input_layer="input:0" \
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Ddnn_tree_combined_estimator.py184 input_layer = feature_column_lib.input_layer(
189 input_layer = layers.input_from_feature_columns(
196 previous_layer = input_layer
254 tree_features["dnn_input_layer"] = input_layer
/external/tensorflow/tensorflow/examples/tutorials/layers/
Dcnn_mnist.py31 input_layer = tf.reshape(features["x"], [-1, 28, 28, 1])
39 inputs=input_layer,
/external/tensorflow/tensorflow/python/grappler/
Dhierarchical_controller.py525 input_layer = self.op_embeddings
526 input_layer = array_ops.expand_dims(input_layer, 0)
527 feed_ff_input_layer = array_ops.tile(input_layer, [num_children, 1, 1])
538 def make_grouping_predictions(self, input_layer, reuse=None): argument
554 batch_size = array_ops.shape(input_layer)[0]
555 embedding_dim = array_ops.shape(input_layer)[2]
557 reshaped = array_ops.reshape(input_layer,
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/
Dlabel_image.cc319 string input_layer = "Mul"; in main() local
332 Flag("input_layer", &input_layer, "name of input layer"), in main()
376 Status run_status = session->Run({{input_layer, resized_tensor}}, in main()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc346 string input_layer = "ResizeBilinear"; in main() local
367 Flag("input_layer", &input_layer, "name of input layer"), in main()
416 session->Run({{input_layer, resized_tensor}}, in main()

123