Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 101 for Instant (0.14 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        Value element_shape = adaptor.getOperands()[1];
    
        // Only match when `element_shape` is a constant.
        DenseIntElementsAttr dense_elem_attr;
        if (!matchPattern(element_shape, m_Constant(&dense_elem_attr))) {
          const char *error_info = "requires element_shape to be a constant";
          return allow_tensorlist_pass_through_
                     ? rewriter.notifyMatchFailure(op, error_info)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

    // HWIO data format.
    //
    // Motivation to prepare for the TFLite legalization before the actual
    // legalization is to exploit constant folding opportunities in any newly
    // created ops by leveraging constant folding support for the TensorFlow ops.
    // This way TFLite can be used as a serialization format only and does not
    // require access to the TFLite runtime for optimizations as required by the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  3. src/crypto/tls/conn.go

    			// Lucky13, the data past paddingLen (which is secret) is passed to
    			// the MAC function as extra data, to be fed into the HMAC after
    			// computing the digest. This makes the MAC roughly constant time as
    			// long as the digest computation is constant time and does not
    			// affect the subsequent write, modulo cache effects.
    			paddingLen, paddingGood = extractPadding(payload)
    		default:
    			panic("unknown cipher type")
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/riscv/obj.go

    		// Handle constant to register moves.
    		if p.As != AMOV {
    			p.Ctxt.Diag("%v: unsupported constant load", p)
    			return nil
    		}
    
    		// For constants larger than 32 bits in size that have trailing zeros,
    		// use the value with the trailing zeros removed and then use a SLLI
    		// instruction to restore the original constant.
    		// For example:
    		// 	MOV $0x8000000000000000, X10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // output type doesn't have to be static but if input types and indices are
        // constant, then the output type can be statically determined.
        RankedTensorType out_ty = mlir::dyn_cast<RankedTensorType>(op.getType());
        if (!out_ty || !out_ty.hasStaticShape()) return failure();
    
        // Extract out all the constant indices' attributes and verify that data
        // types are static.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (NEG(Q|L) (NEG(Q|L) x)) => x
    (NEG(Q|L) s:(SUB(Q|L) x y)) && s.Uses == 1 => (SUB(Q|L) y x)
    
    // Convert constant subtracts to constant adds
    (SUBQconst [c] x) && c != -(1<<31) => (ADDQconst [-c] x)
    (SUBLconst [c] x) => (ADDLconst [-c] x)
    
    // generic constant folding
    // TODO: more of this
    (ADDQconst [c] (MOVQconst [d])) => (MOVQconst [int64(c)+d])
    (ADDLconst [c] (MOVLconst [d])) => (MOVLconst [c+d])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                        problems.add(
                                Severity.FATAL,
                                ModelProblem.Version.V31,
                                "Version must be a constant",
                                childModel.getLocation(""));
    
                    } else {
                        if (rawChildVersionReferencesParent(rawChildModelVersion)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Fold transfer of CA -> GPR -> CA. Note 2 uses when feeding into a chained Sub64borrow.
    (Select1 (SUBCconst n:(NEG (SUBZEzero x)) [0])) && n.Uses <= 2 => x
    
    // Constant folding
    (FABS (FMOVDconst [x])) => (FMOVDconst [math.Abs(x)])
    (FSQRT (FMOVDconst [x])) && x >= 0 => (FMOVDconst [math.Sqrt(x)])
    (FFLOOR (FMOVDconst [x])) => (FMOVDconst [math.Floor(x)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          Maps.toMap((Iterable<String>) strings, Functions.constant("foo"));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testToMapWithNullValues() {
        Iterable<String> strings = ImmutableList.of("one", "two", "three");
        try {
          Maps.toMap(strings, Functions.constant(null));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (Rsh8x16 x y) => (SRAcond (SignExt8to32 x) (ZeroExt16to32 y) (CMPconst [256] (ZeroExt16to32 y)))
    (Rsh8x8  x y) => (SRA (SignExt8to32 x) (ZeroExt8to32 y))
    
    // constant shifts
    // generic opt rewrites all constant shifts to shift by Const64
    (Lsh32x64 x (Const64 [c])) && uint64(c) < 32 => (SLLconst x [int32(c)])
    (Rsh32x64 x (Const64 [c])) && uint64(c) < 32 => (SRAconst x [int32(c)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
Back to top