- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for insert_point (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc
// IslandOps always have a control result. result_types.push_back( ControlType::get(merged_island.insert_point->getContext())); OpBuilder builder(merged_island.insert_point); auto new_island = builder.create<IslandOp>( merged_island.insert_point->getLoc(), result_types, operands); new_island.getBody().push_back(new Block); return new_island; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
} // Wraps single op in `tf_device.launch` for explicit device assignment. void WrapOpInLaunch(OpBuilder* builder, Location loc, Operation* op, llvm::StringRef device) { OpBuilder::InsertPoint insert_point = builder->saveInsertionPoint(); auto launch = builder->create<tf_device::LaunchOp>( loc, builder->getStringAttr(device), op->getResultTypes()); launch.getBody().push_back(new Block);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
// function. TF::PartitionedCallOp FinalizeFunctionRegister( PatternRewriter& rewriter, Value input, Value output, func::FuncOp& quantization_func, Operation* quantized_op, StringRef func_name, IRRewriter::InsertPoint original_point, Type quantize_result_type) { rewriter.create<func::ReturnOp>(input.getLoc(), ArrayRef<Value>({output})); quantization_func.setVisibility(func::FuncOp::Visibility::Private);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0)