Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for RealDiv (0.24 sec)

  1. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     ConcatV2 1
     Const 5
     GreaterEqual 1
     MatMul 1
     Mul 5
     Select 2
     Sigmoid 3
     Snapshot 1
     Split 1
     Tanh 2
    cluster 29 size 9
     Add 1
     Mul 2
     RealDiv 2
     Sqrt 2
     Sub 2
    cluster 30 size 9
     Add 1
     Mul 2
     RealDiv 2
     Sqrt 2
     Sub 2
    cluster 31 size 4
     Mul 3
     UnsortedSegmentSum 1
    cluster 32 size 4
     Mul 3
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/math_grad_test.cc

      RunTest({x}, {x_shape}, {y}, {x_shape});
    }
    
    TEST_F(NaryGradTest, RealDiv) {
      TensorShape x_shape({3, 2, 5});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      // Test x / (1 + |x|) rather than x_1 / x_2 to avoid triggering large
      // division errors in the numeric estimator used by the gradient checker.
      auto y =
          RealDiv(scope_, x, Add(scope_, Const<float>(scope_, 1), Abs(scope_, x)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/math_grad.cc

      // y = x_1 / x_2
      // dy/dx_1 = 1/x_2
      // dy/dx_2 = -x_1/x_2^2
      auto gx_1 = RealDiv(scope, grad_inputs[0], x_2);
      auto gx_2 = Mul(scope, grad_inputs[0],
                      RealDiv(scope, RealDiv(scope, Neg(scope, x_1), x_2), x_2));
      return BinaryGradCommon(scope, op, grad_outputs, gx_1, gx_2);
    }
    REGISTER_GRADIENT_OP("RealDiv", RealDivGrad);
    
    Status DivNoNanGrad(const Scope& scope, const Operation& op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

        $num_bits, $range_given, $round_mode, $narrow_range, $axis),
      [], [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    // RealDiv op patterns.
    //===----------------------------------------------------------------------===//
    
    def RealDivWithSqrtDivisor : Pat<
      (TF_RealDivOp:$src $arg0, (TF_SqrtOp $arg1)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      func.return %0: tensor<2xi32>
    }
    
    // CHECK-LABEL: func @real_div
    func.func @real_div(%arg0: tensor<2xi32>) -> tensor<2xi32> {
      // CHECK-NEXT:  %0 = mhlo.divide %arg0, %arg0 : tensor<2xi32>
      %0 = "tf.RealDiv"(%arg0, %arg0) : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0: tensor<2xi32>
    }
    
    // CHECK-LABEL: func @sub
    func.func @sub(%arg0: tensor<2xi32>) -> tensor<2xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

      // CHECK-NEXT: return %arg0 : tensor<2x2xf32>
    }
    
    func.func @RemoveTrivialRealDiv(%arg0: tensor<2x2xf32>, %arg1: tensor<2x2xf32>) -> tensor<2x2xf32> {
      %cst = arith.constant dense<1.0> : tensor<2x2xf32>
      %0 = "tf.RealDiv"(%arg0, %cst) : (tensor<2x2xf32>, tensor<2x2xf32>) -> tensor<2x2xf32>
      func.return %0 : tensor<2x2xf32>
    
      // CHECK-LABEL: RemoveTrivialRealDiv
      // CHECK-NEXT: return %arg0 : tensor<2x2xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    func.func @realDiv(%arg0: tensor<8x16xf32>, %arg1: tensor<8x16xf32>) -> tensor<8x16xf32> {
      %0 = "tf.RealDiv"(%arg0, %arg1) : (tensor<8x16xf32>, tensor<8x16xf32>) -> tensor<8x16xf32>
      func.return %0 : tensor<8x16xf32>
    
    // CHECK-LABEL: realDiv
    // CHECK:  tfl.div %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<8x16xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    // CHECK-LABEL: testRealDivWithSqrtDivisor
    func.func @testRealDivWithSqrtDivisor(%arg0: tensor<8x16xf32>, %arg1: tensor<8x16xf32>) -> tensor<8x16xf32> {
      %0 = "tf.Sqrt"(%arg1) : (tensor<8x16xf32>) -> tensor<8x16xf32>
      %1 = "tf.RealDiv"(%arg0, %0) {device = "/job:localhost/replica:0/task:0/device:GPU:0"} : (tensor<8x16xf32>, tensor<8x16xf32>) -> tensor<8x16xf32>
      func.return %1: tensor<8x16xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. internal/crypto/key_test.go

    			}
    		}()
    	}
    }
    
    var sealUnsealKeyTests = []struct {
    	SealExtKey, SealIV                 [32]byte
    	SealDomain, SealBucket, SealObject string
    
    	UnsealExtKey                             [32]byte
    	UnsealDomain, UnsealBucket, UnsealObject string
    
    	ShouldPass bool
    }{
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top