- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetAllVarIsInitializedToTrue (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
} // Replaces all `tf.VarIsInitializedOp` in a block with a constant true. // TODO(b/171039585): Replace this with proper analysis of // `tf.VarIsInitializedOp` in regards to resource writes and control flow. void SetAllVarIsInitializedToTrue(Block* block) { auto builder = OpBuilder::atBlockBegin(block); TF::ConstOp const_true = nullptr; for (auto op : llvm::make_early_inc_range(block->getOps<TF::VarIsInitializedOp>())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0)