Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VarIsInitializedOp (0.35 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    // VarIsInitializedOp
    //===----------------------------------------------------------------------===//
    
    namespace {
    
    /// Erase VarIsInitializedOp operations with no uses. This op has side effect on
    /// resources (read-only), but can still be deleted if it has zero uses.
    struct EraseDeadVarIsInitializedOp
        : public OpRewritePattern<VarIsInitializedOp> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %is = "tf.VarIsInitializedOp"(%vh) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<i1>
      %res = "tf.UnknownOp"(%vh) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<i1>
      func.return %res : tensor<i1>
    }
    // Unused VarIsInitializedOp is erased.
    // CHECK: tf.VarHandleOp
    // CHECK-NEXT: tf.UnknownOp
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top