Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for VarIsInitializedOp (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      auto subtypes = resource_type.getSubtypes();
      if (subtypes.size() == 1) return subtypes[0];
      return nullptr;
    }
    
    // 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);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top