- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for NextIterationSourceOp (0.26 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
//===----------------------------------------------------------------------===// // tf_executor.NextIteration.Source //===----------------------------------------------------------------------===// LogicalResult NextIterationSourceOp::verify() { NextIterationSourceOp source = *this; Value token = source.getToken(); if (!token.hasOneUse()) return source.emitOpError() << "expects a single user for produced token";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
for (Value value : operands) if (!mlir::isa<mlir::BlockArgument>(value)) filtered.push_back(value); } // Split the tfg.NextIteration into tf_executor::NextIterationSourceOp and // tf_executor::NextIterationSinkOp to break the cycle introduced by itself. static void SplitNextIteration(Block &block) { // TODO(b/207144333): Supports callback for unregistered ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
}; // Check if tf_executor.NextIteration.Source/tf_executor.NextIteration.Sink // pair has matching devices or no devices. if (auto source = llvm::dyn_cast<tf_executor::NextIterationSourceOp>(op)) { return ops_have_same_device(source, source.GetSink()); } else if (auto sink = llvm::dyn_cast<tf_executor::NextIterationSinkOp>(op)) { return ops_have_same_device(sink.GetSource(), sink); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
// Replaces the input node with NextIteration sink if it is a NextIteration // source. if (auto next_iter_source = llvm::dyn_cast<mlir::tf_executor::NextIterationSourceOp>( input_inst)) input_inst = next_iter_source.GetSink(); auto node_it = nodes_.find(input_inst); TF_RET_CHECK(node_it != nodes_.end())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
// Replaces the input node with NextIteration sink if it is a NextIteration // source. if (auto next_iter_source = llvm::dyn_cast<mlir::tf_executor::NextIterationSourceOp>( input_inst)) input_inst = next_iter_source.GetSink(); auto node_it = nodes_.find(input_inst); TF_RET_CHECK(node_it != nodes_.end())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
mlir::tf_executor::EnterOp, mlir::tf_executor::ExitOp, mlir::tf_executor::NextIterationSinkOp, mlir::tf_executor::NextIterationSourceOp>(op); } mlir::LogicalResult IsValidGraph(mlir::ModuleOp module) { auto result = module.walk([&](Operation* op) { return IsControlFlowV1Op(op) ? mlir::WalkResult::interrupt()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
op->getResults()); } if (auto iter_sink = dyn_cast<tf_executor::NextIterationSinkOp>(op)) { auto iter_source = cast<tf_executor::NextIterationSourceOp>( iter_sink.getToken().getDefiningOp()); return RefineTypeForPassThroughOperands( op, iter_sink.getOperands().drop_front().take_front(), iter_source.getResults()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
mlir::OpBuilder builder_at_begin(builder_.getBlock(), builder_.getBlock()->begin()); auto source_op = builder_at_begin.create<mlir::tf_executor::NextIterationSourceOp>( loc, operands[0].getType(), result.attributes); return builder_.create<mlir::tf_executor::NextIterationSinkOp>( loc, source_op.getToken(), operands, result.attributes); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)