/external/tensorflow/tensorflow/core/graph/ |
D | while_context.h | 38 std::vector<Node*> exit_nodes, OutputTensor cond_output, 39 std::vector<OutputTensor> body_inputs, 40 std::vector<OutputTensor> body_outputs); 45 const OutputTensor& cond_output() const { return cond_output_; } in cond_output() 46 const std::vector<OutputTensor>& body_inputs() const { return body_inputs_; } in body_inputs() 47 const std::vector<OutputTensor>& body_outputs() const { in body_outputs() 67 const OutputTensor cond_output_; 70 const std::vector<OutputTensor> body_inputs_; 71 const std::vector<OutputTensor> body_outputs_;
|
D | while_context.cc | 23 OutputTensor cond_output, in WhileContext() 24 std::vector<OutputTensor> body_inputs, in WhileContext() 25 std::vector<OutputTensor> body_outputs) in WhileContext()
|
D | graph.h | 64 struct OutputTensor; 223 Status input_tensor(int idx, OutputTensor* t) const; 362 struct OutputTensor { struct 366 OutputTensor(Node* n, int i) : node(n), index(i) {} in OutputTensor() argument 367 OutputTensor() : node(nullptr), index(0) {} in OutputTensor() function 371 bool operator==(const OutputTensor& other) const; 376 uint64 operator()(OutputTensor const& s) const; argument 672 OutputTensor cond_output, 673 std::vector<OutputTensor> body_inputs, 674 std::vector<OutputTensor> body_outputs,
|
D | graph.cc | 323 Status Node::input_tensor(int idx, OutputTensor* t) const { in input_tensor() 327 *t = OutputTensor(e->src(), e->src_output()); in input_tensor() 360 bool OutputTensor::operator==(const OutputTensor& other) const { in operator ==() 364 uint64 OutputTensor::Hash::operator()(OutputTensor const& s) const { in operator ()() 827 OutputTensor cond_output, in AddWhileContext() 828 std::vector<OutputTensor> body_inputs, in AddWhileContext() 829 std::vector<OutputTensor> body_outputs, in AddWhileContext()
|
D | node_builder.h | 53 NodeOut(OutputTensor t);
|
D | node_builder.cc | 32 NodeBuilder::NodeOut::NodeOut(OutputTensor t) : NodeOut(t.node, t.index) {} in NodeOut()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_cond.h | 61 OutputTensor output_tensor; 87 bool operator()(const OutputTensor& lhs, const OutputTensor& rhs) const; 92 using CondState = std::map<OutputTensor, BranchType, OutputTensorLess>; 125 BranchType FindBranchOf(CondId id, OutputTensor predicate) const; 188 const OutputTensor& predicate); 260 std::unordered_map<Node*, OutputTensor> merge_to_predicate_; 263 std::unordered_map<Node*, OutputTensor> merge_to_replacement_;
|
D | functionalize_cond.cc | 68 typedef std::tuple<StateMap::CondId, StateMap::AncestorId, OutputTensor> 86 string DebugString(const OutputTensor& tensor) { in DebugString() 110 const OutputTensor& pred = pred_branch.first; in DebugString() 122 Status GetSwitchPredicate(const Node& switch_node, OutputTensor* pred) { in GetSwitchPredicate() 130 *pred = OutputTensor(pred_edge->src(), pred_edge->src_output()); in GetSwitchPredicate() 134 Status GetSwitchValue(const Node& switch_node, OutputTensor* val) { in GetSwitchValue() 137 *val = OutputTensor(val_edge->src(), val_edge->src_output()); in GetSwitchValue() 141 bool StateMap::OutputTensorLess::operator()(const OutputTensor& lhs, in operator ()() 142 const OutputTensor& rhs) const { in operator ()() 164 {std::make_pair(OutputTensor(nullptr, -1), BranchType::kNeither)}); in StateMap() [all …]
|
D | functionalize_cond_test.cc | 86 ss.insert(std::make_pair(OutputTensor(pred, 0), BranchType::kThenBranch)); in TEST_F() 92 ss.insert(std::make_pair(OutputTensor(pred, 0), BranchType::kElseBranch)); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | clone_constants_for_better_clustering_test.cc | 82 OutputTensor tr0_perm; in TEST() 85 OutputTensor tr1_perm; in TEST() 108 OutputTensor tr0_perm; in TEST() 111 OutputTensor tr1_perm; in TEST() 138 OutputTensor tr0_perm; in TEST() 142 OutputTensor tr1_perm; in TEST() 169 OutputTensor tr0_perm; in TEST() 172 OutputTensor tr1_perm; in TEST() 200 OutputTensor tr0_perm; in TEST() 203 OutputTensor tr1_perm; in TEST()
|
D | encapsulate_subgraphs_pass.cc | 134 uint64 operator()(std::pair<OutputTensor, InputTensor> const& s) const { in operator ()() 135 return Hash64Combine(OutputTensor::Hash()(s.first), in operator ()() 282 std::unordered_map<OutputTensor, int, OutputTensor::Hash> args_by_src_; 289 std::unordered_map<OutputTensor, int, OutputTensor::Hash> results_; 358 std::unordered_set<std::pair<OutputTensor, InputTensor>, 442 return results_.at(OutputTensor(edge->src(), edge->src_output())); in GetResultIndexForEdge() 473 std::unordered_map<OutputTensor, int, OutputTensor::Hash>::iterator iter; in RecordArg() 476 OutputTensor(src_node, src_slot), args_by_src_.size()); in RecordArg() 518 std::unordered_map<OutputTensor, int, OutputTensor::Hash>::iterator iter; in RecordResult() 521 results_.emplace(OutputTensor(src_node, src_slot), results_.size()); in RecordResult() [all …]
|
D | encapsulate_subgraphs_pass.h | 52 const std::vector<OutputTensor>& arg_source_tensors,
|
D | extract_outside_compilation_pass.h | 55 Status operator()(const std::vector<OutputTensor>&,
|
D | extract_outside_compilation_pass_test.cc | 61 std::vector<OutputTensor> arg_source_tensors; in TEST() 132 std::vector<OutputTensor> arg_source_tensors; in TEST() 158 std::vector<OutputTensor> arg_source_tensors; in TEST() 182 std::vector<OutputTensor> arg_source_tensors; in TEST() 214 std::vector<OutputTensor> arg_source_tensors; in TEST()
|
/external/tensorflow/tensorflow/core/framework/ |
D | graph_to_functiondef.h | 36 const std::vector<OutputTensor>& inputs, 37 const std::vector<OutputTensor>& outputs,
|
D | graph_to_functiondef.cc | 306 std::vector<OutputTensor>* args_or_retvals) { in GraphToFunctionDefHelper() 322 std::vector<OutputTensor> inputs; in GraphToFunctionDefHelper() 323 std::vector<OutputTensor> outputs; in GraphToFunctionDefHelper() 349 [](const std::vector<OutputTensor>& args_or_retvals, in GraphToFunctionDefHelper() 378 const std::vector<OutputTensor>& inputs, in GraphToFunctionDef() 379 const std::vector<OutputTensor>& outputs, in GraphToFunctionDef()
|
/external/tensorflow/tensorflow/cc/ops/ |
D | while_loop.cc | 30 OutputTensor ToOutputTensor(const Output& output) { in ToOutputTensor() 31 return OutputTensor(output.node(), output.index()); in ToOutputTensor() 35 std::vector<OutputTensor> ToOutputTensors(const std::vector<Output>& outputs) { in ToOutputTensors() 36 std::vector<OutputTensor> result(outputs.size()); in ToOutputTensors()
|
/external/tensorflow/tensorflow/c/ |
D | c_api_function.cc | 52 const TF_Output* inputs, std::vector<OutputTensor>* input_tensors, in ProcessInputs() 89 std::vector<OutputTensor>* output_tensors) in ProcessOutputs() 161 std::vector<tensorflow::OutputTensor> input_tensors; in TF_GraphToFunctionWithControlOutputs() 168 std::vector<tensorflow::OutputTensor> output_tensors; in TF_GraphToFunctionWithControlOutputs()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | import_model.cc | 195 absl::InlinedVector<OutputTensor, 4>* arg_nodes, 196 absl::InlinedVector<OutputTensor, 4>* ret_nodes, 209 const absl::InlinedVector<OutputTensor, 4>& arg_nodes, 210 const absl::InlinedVector<OutputTensor, 4>& ret_nodes, 325 const absl::InlinedVector<OutputTensor, 4>& arg_nodes, 326 const absl::InlinedVector<OutputTensor, 4>& ret_nodes, 1030 const FunctionBody& fbody, absl::InlinedVector<OutputTensor, 4>* arg_nodes, in GetArgsAndRetsFromFunctionBody() argument 1031 absl::InlinedVector<OutputTensor, 4>* ret_nodes, in GetArgsAndRetsFromFunctionBody() 1136 absl::InlinedVector<OutputTensor, 4> arg_nodes; in ConvertLibFunction() 1137 absl::InlinedVector<OutputTensor, 4> ret_nodes; in ConvertLibFunction() [all …]
|
/external/tensorflow/tensorflow/cc/framework/ |
D | while_gradients.cc | 31 Output ToOutput(OutputTensor output_tensor) { in ToOutput() 36 const std::vector<OutputTensor>& output_tensors) { in ToOutputVector()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | eval_const_tensor.h | 57 OutputTensor tensor, const ShapeRefiner& refiner,
|
D | lower_while_op.cc | 387 OutputTensor resource_tensor; in CreateExitNodes() 470 OutputTensor resource; in UpdateConsumers()
|
D | lower_if_op.cc | 82 OutputTensor pred_;
|
D | lower_case_op.cc | 80 OutputTensor branch_index_;
|
D | eval_const_tensor.cc | 311 Status EvaluateConstantTensor(OutputTensor tensor, const ShapeRefiner& refiner, in EvaluateConstantTensor()
|