Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for SYMMETRIC (0.26 sec)

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

        //
        // Furthermore, pi * abs(frac(x)) loses precision when abs(frac(x)) is close
        // to 1.  To remedy this, we can use the fact that sin(pi * x) in the domain
        // [0, 1] is symmetric across the line Y=0.5.
        Value abs_input = rewriter.create<AbsOp>(loc, input);
        Value abs_input_floor = rewriter.create<FloorOp>(loc, abs_input);
        Value abs_frac_input =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    	// should be the same as rounding by SetInt64 after setting the
    	// precision)
    	g := new(Float).SetMode(mode).SetPrec(prec).SetInt64(x)
    	if !alike(g, f) {
    		t.Errorf("round %s (%d bits, %s) not symmetric: got %s and %s; want %s",
    			toBinary(x), prec, mode,
    			toBinary(g.int64()),
    			toBinary(r1),
    			toBinary(r),
    		)
    		return
    	}
    
    	// h and f should be the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  3. src/math/big/float.go

    // but using the sign of z for rounding the result.
    // x and y must have a non-empty mantissa and valid exponent.
    func (z *Float) usub(x, y *Float) {
    	// This code is symmetric to uadd.
    	// We have not factored the common code out because
    	// eventually uadd (and usub) should be optimized
    	// by special-casing, and the code will diverge.
    
    	if debugFloat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    ^bb0(%arg0: tensor<2x1x3xf32>, %arg1: tensor<3x2xi32>):
      %0 = "tf.MirrorPad"(%arg0, %arg1) { mode = "SYMMETRIC" }: (tensor<2x1x3xf32>, tensor<3x2xi32>) -> tensor<? x f32>
      func.return %0#0 : tensor<? x f32>
    
      // CHECK-LABEL: mirror_pad
      // CHECK:  "tfl.mirror_pad"(%arg0, %arg1) <{mode = #tfl<mirror_pad_attr SYMMETRIC>}> : (tensor<2x1x3xf32>, tensor<3x2xi32>) -> tensor<?xf32>
      // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

          public boolean contains(@CheckForNull Object element) {
            return set1.contains(element) && !set2.contains(element);
          }
        };
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the symmetric difference of two sets. The returned set
       * contains all elements that are contained in either {@code set1} or {@code set2} but not in
       * both. The iteration order of the returned set is undefined.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Sets.java

          public boolean contains(@CheckForNull Object element) {
            return set1.contains(element) && !set2.contains(element);
          }
        };
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the symmetric difference of two sets. The returned set
       * contains all elements that are contained in either {@code set1} or {@code set2} but not in
       * both. The iteration order of the returned set is undefined.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    
      let description = [{
    The input is a tensor of shape `[..., M, M]` whose inner-most 2 dimensions
    form square matrices.
    
    The input has to be symmetric and positive definite. Only the lower-triangular
    part of the input will be used for this operation. The upper-triangular part
    will not be read.
    
    The output is a tensor of the same shape as the input
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    			t.Errorf("Identical(%s, %s) = %t, want %t", X.Type(), Y.Type(), got, test.want)
    		}
    	}
    }
    
    func TestIdentical_issue15173(t *testing.T) {
    	// Identical should allow nil arguments and be symmetric.
    	for _, test := range []struct {
    		x, y Type
    		want bool
    	}{
    		{Typ[Int], Typ[Int], true},
    		{Typ[Int], nil, false},
    		{nil, Typ[Int], false},
    		{nil, nil, true},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // -----
    
    // Tests static range quantized dot_general with symmetric quantized input.
    
    func.func @dot_general_upstream_srq_sym_input(%arg0: tensor<1x2x3x4x!quant.uniform<i8:f32, 1.000000e+0>>) -> tensor<1x2x3x5x!quant.uniform<i8:f32, 4.000000e+0>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    			t.Errorf("Identical(%s, %s) = %t, want %t", X.Type(), Y.Type(), got, test.want)
    		}
    	}
    }
    
    func TestIdentical_issue15173(t *testing.T) {
    	// Identical should allow nil arguments and be symmetric.
    	for _, test := range []struct {
    		x, y Type
    		want bool
    	}{
    		{Typ[Int], Typ[Int], true},
    		{Typ[Int], nil, false},
    		{nil, Typ[Int], false},
    		{nil, nil, true},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top