Home
last modified time | relevance | path

Searched refs:operand_and_idx (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexport_graphdef.cc323 for (auto operand_and_idx : llvm::enumerate(fetch.getOperands())) { in AddEdge() local
324 Value operand = operand_and_idx.value(); in AddEdge()
327 auto* dst_node = returns_[fetch][operand_and_idx.index()]; in AddEdge()
361 for (auto operand_and_idx : llvm::enumerate(op->getOperands())) in AddEdge() local
362 TF_RETURN_IF_ERROR(AddEdgeBetweenNodes(operand_and_idx.value(), dst_node, in AddEdge()
363 operand_and_idx.index())); in AddEdge()
369 for (auto operand_and_idx : llvm::enumerate(inst->getOperands())) in AddEdge() local
371 AddEdgeBetweenNodes(operand_and_idx.value(), dst_node, in AddEdge()
372 operand_and_idx.index() + operand_offset)); in AddEdge()
418 for (auto operand_and_idx : llvm::enumerate(fetch.getOperands())) { in AddFetchNode() local
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_dynamic_padding_mapper.cc64 for (auto operand_and_idx : llvm::enumerate(cluster_func.getOperands())) { in GetRemappedReplicatedInputIndices() local
65 if (auto block_arg = operand_and_idx.value().dyn_cast<BlockArgument>()) { in GetRemappedReplicatedInputIndices()
72 remapped_indices[replicated_input_index] = operand_and_idx.index(); in GetRemappedReplicatedInputIndices()
Dtpu_rewrite_pass.cc374 for (auto operand_and_idx : llvm::enumerate(cluster_func.getOperands())) { in BuildCompileOp() local
377 metadata.args(operand_and_idx.index()).shape()); in BuildCompileOp()
383 operand_and_idx.value()); in BuildCompileOp()