Home
last modified time | relevance | path

Searched refs:outputs (Results 1 – 25 of 1383) sorted by relevance

12345678910>>...56

/external/libvpx/libvpx/test/
Dsvc_test.cc137 struct vpx_fixed_buf *const outputs, in StoreFrames() argument
153 outputs[*frame_received].buf = malloc(frame_size + 16); in StoreFrames()
154 ASSERT_TRUE(outputs[*frame_received].buf != NULL); in StoreFrames()
155 memcpy(outputs[*frame_received].buf, cx_pkt->data.frame.buf, in StoreFrames()
157 outputs[*frame_received].sz = frame_size; in StoreFrames()
165 struct vpx_fixed_buf *const outputs) { in Pass2EncodeNFrames() argument
169 ASSERT_TRUE(outputs != NULL); in Pass2EncodeNFrames()
191 StoreFrames(n, outputs, &frame_received); in Pass2EncodeNFrames()
199 StoreFrames(n, outputs, &frame_received); in Pass2EncodeNFrames()
450 vpx_fixed_buf outputs[3]; in TEST_F() local
[all …]
/external/tensorflow/tensorflow/cc/client/
Dclient_session_test.cc38 std::vector<Tensor> outputs; in TEST() local
40 TF_EXPECT_OK(session.Run({c}, &outputs)); in TEST()
41 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({1, 1}, {1, 2})); in TEST()
50 std::vector<Tensor> outputs; in TEST() local
52 TF_EXPECT_OK(session.Run({{a, 1}, {b, 41}}, {c}, &outputs)); in TEST()
53 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({42}, {})); in TEST()
61 std::vector<Tensor> outputs; in TEST() local
63 TF_EXPECT_OK(session.Run({{a, {1, 1}}}, {c}, &outputs)); in TEST()
64 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({3, 3}, {2})); in TEST()
67 outputs.clear(); in TEST()
[all …]
/external/tensorflow/tensorflow/contrib/specs/python/
Dspecs_test.py44 outputs = specs.create_net(spec, inputs)
45 self.assertEqual(outputs.get_shape().as_list(), [1, 18, 19, 64])
47 result = outputs.eval()
59 outputs = specs.create_net(spec, inputs)
60 self.assertEqual(outputs.get_shape().as_list(), [17, 55])
62 result = outputs.eval()
69 outputs = specs.create_net(spec, inputs)
70 self.assertEqual(outputs.get_shape().as_list(), [17, 10])
72 result = outputs.eval()
83 outputs = specs.create_net(spec, inputs)
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs.c109 struct r300_shader_semantics* outputs = &vs->outputs; in set_vertex_inputs_outputs() local
112 boolean any_bcolor_used = outputs->bcolor[0] != ATTR_UNUSED || in set_vertex_inputs_outputs()
113 outputs->bcolor[1] != ATTR_UNUSED; in set_vertex_inputs_outputs()
120 if (outputs->pos != ATTR_UNUSED) { in set_vertex_inputs_outputs()
121 c->code->outputs[outputs->pos] = reg++; in set_vertex_inputs_outputs()
127 if (outputs->psize != ATTR_UNUSED) { in set_vertex_inputs_outputs()
128 c->code->outputs[outputs->psize] = reg++; in set_vertex_inputs_outputs()
140 if (outputs->color[i] != ATTR_UNUSED) { in set_vertex_inputs_outputs()
141 c->code->outputs[outputs->color[i]] = reg++; in set_vertex_inputs_outputs()
143 outputs->color[1] != ATTR_UNUSED) { in set_vertex_inputs_outputs()
[all …]
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
Dunroll_batch_matmul.cc64 matmul_op->outputs = batch_op->outputs; in Run()
82 std::string(batch_op->outputs[0]) + "_b" + std::to_string(batch); in Run()
94 slice_a_op->outputs = {AvailableArrayName(*model, batch_name + "/slice_a")}; in Run()
95 auto& slice_a_op_output = model->GetOrCreateArray(slice_a_op->outputs[0]); in Run()
102 slice_a_op->outputs[0], in Run()
105 slice_a_reshape_op->outputs = { in Run()
108 model->GetOrCreateArray(slice_a_reshape_op->outputs[0]); in Run()
121 slice_b_op->outputs = {AvailableArrayName(*model, batch_name + "/slice_b")}; in Run()
122 auto& slice_b_op_output = model->GetOrCreateArray(slice_b_op->outputs[0]); in Run()
129 slice_b_op->outputs[0], in Run()
[all …]
Didentify_lstm.cc320 lstm_cell_op->outputs.resize(LstmCellOperator::NUM_OUTPUTS); in Run()
321 lstm_cell_op->outputs[LstmCellOperator::STATE_OUTPUT] = in Run()
323 lstm_cell_op->outputs[LstmCellOperator::ACTIV_OUTPUT] = in Run()
324 final_output_mul->outputs[0]; in Run()
331 lstm_cell_op->outputs[LstmCellOperator::STATE_OUTPUT], in Run()
332 lstm_cell_op->outputs[LstmCellOperator::ACTIV_OUTPUT])); in Run()
336 lstm_cell_op->outputs[LstmCellOperator::CONCAT_TEMP] = concat_temp_array_name; in Run()
340 lstm_cell_op->outputs[LstmCellOperator::ACTIV_TEMP] = activ_temp_array_name; in Run()
349 DeleteArrayIfUnused(state_output_tanh->outputs[0], model); in Run()
350 DeleteArrayIfUnused(fc_output_sig->outputs[0], model); in Run()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_test.cc101 std::vector<Tensor> outputs; in TEST_F() local
102 Status s = session->Run(inputs, output_names, target_nodes, &outputs); in TEST_F()
105 ASSERT_EQ(1, outputs.size()); in TEST_F()
108 auto mat = outputs[0].matrix<float>(); in TEST_F()
109 ASSERT_TRUE(outputs[0].IsInitialized()); in TEST_F()
128 std::vector<Tensor> outputs; in TEST_F() local
131 Status s = session->Run(inputs, output_names, {}, &outputs); in TEST_F()
134 ASSERT_EQ(1, outputs.size()); in TEST_F()
135 auto mat = outputs[0].matrix<float>(); in TEST_F()
156 std::vector<Tensor> outputs; in TEST_F() local
[all …]
Dgraph_runner_test.cc50 std::vector<Tensor> outputs; in TEST() local
51 Status s = graph_runner.Run(root.graph(), nullptr, {}, {c.name()}, &outputs); in TEST()
53 ExpectEqual(42.0f, outputs[0].scalar<float>()()); in TEST()
73 std::vector<Tensor> outputs; in TEST() local
77 graph_runner.Run(root.graph(), nullptr, inputs, {"add:0"}, &outputs); in TEST()
80 ExpectEqual(3.0f, outputs[0].scalar<float>()()); in TEST()
88 std::vector<Tensor> outputs; in TEST() local
90 &outputs); in TEST()
92 ExpectEqual(42.0f, outputs[0].scalar<float>()()); in TEST()
93 ExpectEqual(3.14f, outputs[1].scalar<float>()()); in TEST()
[all …]
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Dhelper.py97 def sample(self, time, outputs, state, name=None): argument
102 def next_inputs(self, time, outputs, state, sample_ids, name=None): argument
154 def sample(self, time, outputs, state, name=None): argument
156 name, "%sSample" % type(self).__name__, (time, outputs, state)):
157 return self._sample_fn(time=time, outputs=outputs, state=state)
159 def next_inputs(self, time, outputs, state, sample_ids, name=None): argument
161 name, "%sNextInputs" % type(self).__name__, (time, outputs, state)):
163 time=time, outputs=outputs, state=state, sample_ids=sample_ids)
233 def sample(self, time, outputs, name=None, **unused_kwargs): argument
234 with ops.name_scope(name, "TrainingHelperSample", [time, outputs]):
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dsignature_def_utils_impl.py33 def build_signature_def(inputs=None, outputs=None, method_name=None): argument
50 if outputs is not None:
51 for item in outputs:
52 signature_def.outputs[item].CopyFrom(outputs[item])
154 def predict_signature_def(inputs, outputs): argument
173 if outputs is None or not outputs:
179 for key, tensor in outputs.items()}
204 if not signature_def.outputs.keys():
221 if (set(signature_def.outputs.keys())
224 if (signature_def.outputs[signature_constants.REGRESS_OUTPUTS].dtype !=
[all …]
Dsignature_def_utils_test.py46 def _make_signature(inputs, outputs, name=None): argument
53 for output_name, tensor in outputs.items()
69 outputs = dict()
70 outputs["foo-output"] = y_tensor_info
73 inputs, outputs, "foo-method-name")
85 self.assertEqual(1, len(signature_def.outputs))
86 y_tensor_info_actual = signature_def.outputs["foo-output"]
109 self.assertEqual(1, len(signature_def.outputs))
111 signature_def.outputs[signature_constants.REGRESS_OUTPUTS])
135 self.assertEqual(2, len(signature_def.outputs))
[all …]
/external/tensorflow/tensorflow/cc/ops/
Dwhile_loop.cc35 std::vector<OutputTensor> ToOutputTensors(const std::vector<Output>& outputs) { in ToOutputTensors() argument
36 std::vector<OutputTensor> result(outputs.size()); in ToOutputTensors()
37 for (int i = 0; i < outputs.size(); ++i) { in ToOutputTensors()
38 result[i] = ToOutputTensor(outputs[i]); in ToOutputTensors()
44 std::vector<Node*> ToNodes(const std::vector<Output>& outputs) { in ToNodes() argument
45 std::vector<Node*> result(outputs.size()); in ToNodes()
46 for (int i = 0; i < outputs.size(); ++i) { in ToNodes()
47 result[i] = outputs[i].node(); in ToNodes()
123 std::vector<Output>* outputs) { in CreateBody() argument
124 DCHECK(outputs != nullptr); in CreateBody()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dvariant_op_copy_test.cc183 std::vector<Tensor> outputs; in TEST() local
184 TF_CHECK_OK(session.Run({create_const}, &outputs)); in TEST()
185 EXPECT_EQ(1, outputs.size()); in TEST()
186 EXPECT_EQ(DT_VARIANT, outputs[0].dtype()); in TEST()
187 EXPECT_EQ(0, outputs[0].dims()); in TEST()
188 const Variant& variant = outputs[0].scalar<Variant>()(); in TEST()
217 std::vector<Tensor> outputs; in TEST() local
221 TF_CHECK_OK(session.Run({create_const}, &outputs)); in TEST()
228 EXPECT_EQ(1, outputs.size()); in TEST()
229 EXPECT_EQ(DT_VARIANT, outputs[0].dtype()); in TEST()
[all …]
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dtraining_loop.py120 outputs = body(*(inputs + dequeue_ops))
123 if not isinstance(outputs, (list, tuple)):
124 outputs = (outputs,)
126 outputs = [
128 for o in outputs
132 output_operations = [o for o in outputs if isinstance(o, ops.Operation)]
133 output_tensors = [o for o in outputs
136 if outputs != output_tensors + output_operations:
206 outputs = while_loop(
208 outputs = _convert_to_list(outputs)
[all …]
/external/tensorflow/tensorflow/contrib/kfac/python/kernel_tests/
Dfisher_blocks_test.py251 self.outputs = np.zeros([self.batch_size, self.output_size]).astype(
294 result, _ = self.runFisherBlockOps(self.w, [self.inputs], [self.outputs],
305 _, result = self.runFisherBlockOps(self.w, [self.inputs], [self.outputs],
318 self.w, [self.inputs], [self.outputs], [self.output_grads])
321 np.split(self.outputs, 2),
330 [self.outputs], [self.output_grads])
341 def runFisherBlockOps(self, params, inputs, outputs, output_grads): argument
360 outputs = as_tensors(outputs)
366 for (i, o) in zip(inputs, outputs):
391 outputs = array_ops.constant([[0.], [1.], [2.]])
[all …]
/external/tensorflow/tensorflow/core/graph/
Dquantize_training_test.cc404 std::vector<Tensor> outputs; in TEST_F() local
405 TF_ASSERT_OK(sess->Run({}, {min_const_name, max_const_name}, {}, &outputs)); in TEST_F()
406 EXPECT_EQ(outputs[0].flat<float>()(0), 0.0); in TEST_F()
407 EXPECT_EQ(outputs[1].flat<float>()(0), 6.0); in TEST_F()
414 TF_ASSERT_OK(sess->Run({{"a", a1}}, {m1->name()}, {}, &outputs)); in TEST_F()
420 TF_ASSERT_OK(sess->Run({}, {min_var_name, max_var_name}, {}, &outputs)); in TEST_F()
421 EXPECT_EQ(outputs[0].flat<float>()(0), 0.0); in TEST_F()
422 EXPECT_EQ(outputs[1].flat<float>()(0), 3.0); in TEST_F()
425 TF_ASSERT_OK(sess->Run({}, {min_const_name, max_const_name}, {}, &outputs)); in TEST_F()
426 EXPECT_EQ(outputs[0].flat<float>()(0), 0.0); in TEST_F()
[all …]
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DSessionTest.java39 AutoCloseableList<Tensor<?>> outputs = in runUsingOperationNames() argument
41 assertEquals(1, outputs.size()); in runUsingOperationNames()
43 assertArrayEquals(expected, outputs.get(0).copyTo(new int[1][1])); in runUsingOperationNames()
56 AutoCloseableList<Tensor<?>> outputs = in runUsingOperationHandles() argument
58 assertEquals(1, outputs.size()); in runUsingOperationHandles()
60 assertArrayEquals(expected, outputs.get(0).copyTo(new int[1][1])); in runUsingOperationHandles()
115 AutoCloseableList<Tensor<?>> outputs = new AutoCloseableList<Tensor<?>>(result.outputs); in runWithMetadata() local
116 assertEquals(1, outputs.size()); in runWithMetadata()
118 assertArrayEquals(expected, outputs.get(0).copyTo(new int[1][1])); in runWithMetadata()
127 outputs.close(); in runWithMetadata()
[all …]
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dcandidate_graph_runner.cc72 std::vector<Tensor>* outputs) { in RunOp() argument
77 TF_CHECK_OK(session_->Run(inputs, output_tensor_names, op_name, outputs)) in RunOp()
98 std::vector<Tensor> outputs; in SplitScore() local
99 RunOp(kNoOp, TensorNameValueList(), {kSplitScoreName}, &outputs); in SplitScore()
100 return outputs[0].unaligned_flat<float>()(0); in SplitScore()
104 std::vector<Tensor> outputs; in GetSplit() local
105 RunOp(kNoOp, TensorNameValueList(), {kGetSplitName}, &outputs); in GetSplit()
106 ParseProtoUnlimited(node, outputs[0].unaligned_flat<string>()(0)); in GetSplit()
116 std::vector<Tensor> outputs; in GetLeftStats() local
117 RunOp(kNoOp, TensorNameValueList(), {kGetLeftStatsName}, &outputs); in GetLeftStats()
[all …]
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Dfused_rnn_cell.py104 outputs, state = rnn.dynamic_rnn(
114 outputs = array_ops.unstack(outputs)
118 outputs, state = rnn.static_rnn(
127 outputs = array_ops.stack(outputs)
129 return outputs, state
176 outputs, state = self._cell(
182 outputs = self._reverse(outputs, sequence_length)
183 return outputs, state
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers.py122 outputs = layer.apply(inputs)
123 return utils.collect_named_outputs(outputs_collections, sc, outputs)
171 outputs = layer.apply(inputs)
172 return utils.collect_named_outputs(outputs_collections, sc, outputs)
382 outputs, mean, variance = utils.smart_cond(
392 no_updates = lambda: outputs
402 return array_ops.identity(outputs)
404 outputs = utils.smart_cond(is_training, _force_updates, no_updates)
421 outputs.set_shape(inputs_shape)
423 outputs = array_ops.reshape(outputs, array_ops.shape(original_inputs))
[all …]
/external/tensorflow/tensorflow/contrib/session_bundle/
Dbundle_shim_test.py57 self.assertEqual(len(signature_def.outputs), 0)
67 self.assertEqual(len(signature_def.outputs), 0)
76 self.assertEqual(len(signature_def.outputs), 0)
86 self.assertEqual(len(signature_def.outputs), 0)
103 self.assertEqual(len(signature_def.outputs), 1)
106 signature_def.outputs["foo-key"],
113 self.assertEqual(len(signature_def.outputs), 1)
116 signature_def.outputs["foo-key"],
122 self.assertEqual(len(signature_def.outputs), 2)
125 signature_def.outputs["bar-key"],
[all …]
/external/tensorflow/tensorflow/cc/tools/
Dfreeze_saved_model_test.cc39 const std::unordered_set<string>& outputs) { in BuildSignatureDef() argument
44 for (const string& output : outputs) { in BuildSignatureDef()
67 std::vector<Tensor> outputs; in InitializeSavedModelBundleSession() local
69 /* inputs */ {}, /* output_tensors */ {}, {init_node}, &outputs); in InitializeSavedModelBundleSession()
88 const GraphDef& graph_def, const std::unordered_set<string>& outputs, in AddGraphDefWithOutputsToSavedModelBundle() argument
91 BuildSignatureDef(std::unordered_set<string>(), outputs); in AddGraphDefWithOutputsToSavedModelBundle()
130 std::unordered_set<string> outputs; in TEST_F() local
132 &outputs)); in TEST_F()
134 EXPECT_EQ(expected_outputs, outputs); in TEST_F()
149 std::unordered_set<string> outputs; in TEST_F() local
[all …]
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_search_test.cc159 std::vector<CTCDecoder::Output> outputs(top_paths); in TEST() local
160 for (CTCDecoder::Output& output : outputs) { in TEST()
166 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST()
168 EXPECT_EQ(outputs[path][0], expected_output[0][path]); in TEST()
209 std::vector<CTCDecoder::Output> outputs(top_paths); in TEST() local
210 for (CTCDecoder::Output& output : outputs) { in TEST()
216 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST()
304 std::vector<CTCDecoder::Output> outputs(top_paths); in TEST() local
305 for (CTCDecoder::Output& output : outputs) { in TEST()
311 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dimmutable_constant_op_test.cc108 std::vector<Tensor> outputs; in TEST() local
109 TF_ASSERT_OK(session->Run({}, {result.node()->name() + ":0"}, {}, &outputs)); in TEST()
110 ASSERT_EQ(outputs.size(), 1); in TEST()
111 EXPECT_EQ(outputs.front().flat<float>()(0), 2.0f * 3.0f); in TEST()
112 EXPECT_EQ(outputs.front().flat<float>()(1), 2.0f * 3.0f); in TEST()
113 EXPECT_EQ(outputs.front().flat<float>()(2), 2.0f * 3.0f); in TEST()
114 EXPECT_EQ(outputs.front().flat<float>()(kTestTensorSize - 1), 2.0f * 3.0f); in TEST()
137 std::vector<Tensor> outputs; in TEST() local
140 session->Run({}, {result.node()->name() + ":0"}, {}, &outputs).code(), in TEST()
180 std::vector<Tensor> outputs; in TEST() local
[all …]
/external/scapy/doc/notebooks/tls/
Dnotebook1_x509.ipynb23 "outputs": [],
35 "outputs": [],
48 "outputs": [],
69 "outputs": [],
81 "outputs": [],
94 "outputs": [],
106 "outputs": [],
119 "outputs": [],
132 "outputs": [],
155 "outputs": [],
[all …]

12345678910>>...56