Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for PreventGradient (0.21 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/call_xla_module_to_stablehlo.mlir

          %control_4 = tf_executor.island(%control_3) wraps "tf.NoOp"() {device = ""} : () -> ()
          %outputs_5, %control_6 = tf_executor.island wraps "tf.PreventGradient"(%outputs_2) {device = "", message = "The jax2tf-converted function does not support gradients. Use `with_gradient` parameter to enable gradients"} : (tensor<2x3xi32>) -> tensor<2x3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 21:25:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

      %2 = "tf.PreventGradient"(%0) : (tensor<10x10xi32>) -> tensor<10x10xi32>
      %3 = "tf.PreventGradient"(%1) : (tensor<10x10xi32>) -> tensor<10x10xi32>
      %4 = "tf.AddV2"(%2, %3) {device = ""} : (tensor<10x10xi32>, tensor<10x10xi32>) -> tensor<10x10xi32>
      func.return %4 : tensor<10x10xi32>
    
    // CHECK-LABEL: preventGradient
    // CHECK-NOT: %2 = "tf.PreventGradient"(%0) : (tensor<10x10xi32>) -> tensor<10x10xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                "_UnaryOpsComposition", "CollectiveReduceV2",
                "CollectiveAssignGroupV2",
                // The following 5 operations are converted to identity
                "PlaceholderWithDefault", "PreventGradient", "StopGradient",
                "Snapshot", "_EagerConst"}},
              // clang-format off
        {"RED",
         {"All", "Any", "Min", "Max", "Mean", "Prod", "Sum"}},
              // clang-format on
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      func.return %0: tensor<1xi32>
    }
    
    // -----
    
    // CHECK-LABEL: func @preventgradient
    func.func @preventgradient(%arg0: tensor<1xi32>) -> tensor<1xi32> {
      // CHECK-NEXT:  return %arg0 : tensor<1xi32>
      %0 = "tf.PreventGradient"(%arg0) {message = "fin gradients"} : (tensor<1xi32>) -> tensor<1xi32>
      func.return %0: tensor<1xi32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$metadata
      );
    
      let results = (outs
        TF_VariantTensor:$handle
      );
    }
    
    def TF_PreventGradientOp : TF_Op<"PreventGradient", [Pure, TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = [{
    An identity op that triggers an error if a gradient is requested.
      }];
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top