Home
last modified time | relevance | path

Searched refs:input_t (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dencode_proto_op.cc78 auto input_t = input.flat_inner_dims<int64>(); in TotalPackedSize() local
81 input_t(static_cast<int64>(message_index), i)); in TotalPackedSize()
91 auto input_t = input.flat_inner_dims<uint64>(); in TotalPackedSize() local
94 input_t(static_cast<int64>(message_index), i)); in TotalPackedSize()
104 auto input_t = input.flat_inner_dims<int64>(); in TotalPackedSize() local
107 input_t(static_cast<int64>(message_index), i)); in TotalPackedSize()
117 auto input_t = input.flat_inner_dims<int32>(); in TotalPackedSize() local
120 input_t(static_cast<int64>(message_index), i)); in TotalPackedSize()
155 auto input_t = input.flat_inner_dims<uint64>(); in TotalPackedSize() local
158 input_t(static_cast<int64>(message_index), i)); in TotalPackedSize()
[all …]
Dmkl_conv_ops_test.cc123 Tensor input_t = GetRandomInputTensor(dims); in DefaultConv2D() local
126 Node* input = test::graph::Constant(graph, input_t, "input"); in DefaultConv2D()
145 Tensor input_t = GetRandomInputTensor(dims); in MklConv2D() local
148 Node* input = test::graph::Constant(graph, input_t, "input"); in MklConv2D()
234 Tensor input_t = GetRandomInputTensor(dims); in DefaultConv2DBwdFilter() local
239 Node* input = test::graph::Constant(graph, input_t, "input"); in DefaultConv2DBwdFilter()
263 Tensor input_t = GetRandomInputTensor(dims); in MklConv2DBwdFilter() local
268 Node* input = test::graph::Constant(graph, input_t, "input"); in MklConv2DBwdFilter()
Dpopulation_count_op.cc46 const Tensor& input_t = c->input(0); in Compute() local
48 OP_REQUIRES_OK(c, c->allocate_output(0, input_t.shape(), &output_t)); in Compute()
50 auto input = input_t.flat<T>(); in Compute()
Dcompare_and_bitpack_op.cc43 const Tensor& input_t = c->input(0); in Compute() local
49 const TensorShape& input_shape = input_t.shape(); in Compute()
66 auto input = input_t.flat_inner_dims<T>(); in Compute()
Dxsmm_conv2d_test.cc138 LIBXSMM_VLA_DECL(4, const float, input_t, in naive_conv_fp()
155 LIBXSMM_VLA_ACCESS(4, input_t, img, ifm, ij + kj, ii + ki, in naive_conv_fp()
Dlist_kernels.h997 auto input_t = input.flat_outer_dims<T, 2>(); in Compute() local
1012 frame_t.device(c->eigen_device<Device>()) = input_t.template chip<0>(b); in Compute()
/external/tensorflow/tensorflow/contrib/graph_editor/
Dedit.py91 dtype=input_t.dtype, name=util.placeholder_name(input_t))
92 for input_t in sgv.inputs
126 [input_id for input_id, input_t in enumerate(consumers_sgv.inputs)
127 if input_t in sgv_.outputs])
131 util.make_placeholder_from_tensor(input_t)
132 for input_t in consumers_sgv.inputs
Dtransform.py535 for input_t in sgv.inputs:
536 if input_t not in info.transformed_ts:
538 input_t_ = info.transformed_ts[input_t]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dremapper_test.cc124 auto input_t = GenerateRandomTensor<DT_FLOAT>({8, 32, 32, 3}); in TEST_F() local
130 item.feed = {{"input", input_t}, {"filter", filter_t}, {"bias", bias_t}}; in TEST_F()
188 auto input_t = GenerateRandomTensor<DT_FLOAT>({8, 32, 32, 3}); in TEST_F() local
194 item.feed = {{"input", input_t}, {"filter", filter_t}, {"bias", bias_t}}; in TEST_F()
258 auto input_t = GenerateRandomTensor<DT_FLOAT>({8, 32, 32, 3}); in TEST_F() local
267 item.feed = {{"input", input_t}, {"filter", filter_t}, in TEST_F()
336 auto input_t = GenerateRandomTensor<DT_FLOAT>({8, 32, 32, 3}); in TEST_F() local
345 item.feed = {{"input", input_t}, {"filter", filter_t}, in TEST_F()
413 auto input_t = GenerateRandomTensor<DT_FLOAT>({8, 32, 1, 3}); in TEST_F() local
419 item.feed = {{"input", input_t}, {"filter", filter_t}, {"bias", bias_t}}; in TEST_F()
Darithmetic_optimizer_test.cc1127 auto input_t = GenerateRandomTensor<DT_UINT8>(TensorShape({8, 28, 28, 3})); in TEST_F() local
1129 EvaluateNodes(item.graph, item.fetch, {{"Placeholder", input_t}}); in TEST_F()
1153 EvaluateNodes(item.graph, item.fetch, {{"Placeholder", input_t}}); in TEST_F()
1173 auto input_t = GenerateRandomTensor<DT_UINT8>(TensorShape({8, 28, 28, 3})); in TEST_F() local
1175 EvaluateNodes(item.graph, item.fetch, {{"Placeholder", input_t}}); in TEST_F()
1199 EvaluateNodes(item.graph, item.fetch, {{"Placeholder", input_t}}); in TEST_F()
1217 auto input_t = in TEST_F() local
1220 EvaluateNodes(item.graph, item.fetch, {{"Placeholder", input_t}}); in TEST_F()
1245 EvaluateNodes(item.graph, item.fetch, {{"Placeholder", input_t}}); in TEST_F()
1266 auto input_t = GenerateRandomTensor<DT_UINT8>(TensorShape({8, 28, 28, 3})); in TEST_F() local
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Doptimize_dataset_test.py117 input_t = array_ops.placeholder(dtypes.int32, (None, None, None))
118 dataset = dataset_ops.Dataset.from_tensors(input_t)
127 sess.run(init_op, {input_t: np.ones([512, 1024, 1025], np.int32)})
132 input_t = array_ops.placeholder(dtypes.int32, (None, None, None, None))
133 dataset = dataset_ops.Dataset.from_tensor_slices(input_t)
142 sess.run(init_op, {input_t: np.ones([1, 512, 1024, 1025], np.int32)})
/external/tensorflow/tensorflow/python/kernel_tests/
Dreverse_sequence_op_test.py126 input_t = constant_op.constant(x, shape=x.shape)
129 input_t,
134 input_t, x.shape, reverse_sequence_out, x.shape, x_init_value=x)
Dslice_op_test.py158 input_t = array_ops.placeholder(dtypes.int32)
159 slice_t = input_t[:]
162 sess.run([slice_t], feed_dict={input_t: input_val})
173 input_t = array_ops.placeholder(dtypes.int32)
174 slice_t = input_t[1:, 1:]
177 sess.run([slice_t], feed_dict={input_t: input_val})
/external/tensorflow/tensorflow/contrib/graph_editor/tests/
Dmatch.py96 for input_t, input_op_match in zip(op.inputs, self.input_op_matches):
99 if not input_op_match(input_t.op):
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Ddecoder_v2_test.py54 input_t = constant_op.constant(inputs)
66 input_t, initial_state=initial_state, sequence_length=sequence_length)
Dbasic_decoder_v2_test.py56 input_t = constant_op.constant(inputs)
74 first_state) = my_decoder.initialize(input_t,
287 input_t = constant_op.constant(inputs)
301 input_t, sequence_length=sequence_length, embedding=embeddings,
380 input_t = constant_op.constant(inputs)
405 first_state) = my_decoder.initialize(input_t,
/external/tensorflow/tensorflow/python/ops/
Drnn.py821 input_t = tuple(ta.read(time) for ta in input_ta)
823 for input_, shape in zip(input_t, inputs_got_shape):
826 input_t = tuple(ta[time.numpy()] for ta in input_ta)
828 input_t = nest.pack_sequence_as(structure=inputs, flat_sequence=input_t)
833 call_cell = lambda: cell(input_t, state)
Dgradients_util.py474 for input_t, placeholder_t in _Captures(t.op.graph).items():
476 return _MaybeCaptured(input_t)
540 for input_t, placeholder in _Captures(func).items():
541 if input_t == t:
Dwhile_v2.py905 for (t, shape, input_t) in zip(output_tensors, shape_invariants,
912 "specify a less-specific shape." % (input_t.name, shape, t.shape))
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_eager.py101 isinstance(input_t, (np.ndarray, float, int))
102 for input_t in nest.flatten(inputs)):
/external/f2fs-tools/fsck/
Ddict.c1205 typedef char input_t[256]; typedef
1267 input_t in; in construct()
1288 if (!fgets(in, sizeof(input_t), stdin)) in construct()
1332 input_t in; in main()
1365 if (!fgets(in, sizeof(input_t), stdin)) in main()
/external/e2fsprogs/lib/support/
Ddict.c1235 typedef char input_t[256]; typedef
1297 input_t in; in construct()
1318 if (!fgets(in, sizeof(input_t), stdin)) in construct()
1362 input_t in; in main()
1395 if (!fgets(in, sizeof(input_t), stdin)) in main()
/external/tensorflow/tensorflow/python/keras/
Dbackend.py3364 def swap_batch_timestep(input_t): argument
3366 axes = list(range(len(input_t.shape)))
3368 return array_ops.transpose(input_t, axes)
3398 def _expand_mask(mask_t, input_t, fixed_dim=1): argument
3400 assert not nest.is_sequence(input_t)
3401 rank_diff = len(input_t.shape) - len(mask_t.shape)
3404 multiples = [1] * fixed_dim + input_t.shape.as_list()[fixed_dim:]
3419 def _process_single_input_t(input_t): argument
3420 input_t = array_ops.unstack(input_t) # unstack for time_step dim
3422 input_t.reverse()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dfunc_graph.py757 for input_t, placeholder_t in tensor.op.graph.captures.items():
759 return maybe_captured(input_t)
/external/tensorflow/tensorflow/core/framework/
Dshape_inference_test.cc187 Tensor input_t = in TEST_F() local
190 {S({1, 2, 3}), S({4, 5})}, {nullptr, &input_t}, {}, {}); in TEST_F()
210 Tensor input_t = ::tensorflow::test::AsTensor<int32>({1, 2, 3, 4, 5}); in TEST_F() local
212 {nullptr, &input_t}, {}, {}); in TEST_F()
233 Tensor input_t = ::tensorflow::test::AsTensor<int32>({1, 2, 3, 4, 5}); in TEST_F() local
235 {nullptr, &input_t}, {S({10, -1, 5}), Unknown()}, {}); in TEST_F()

12