Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 82 for Imcasts (0.27 sec)

  1. src/cmd/cgo/internal/test/issue30527.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 30527: function call rewriting casts untyped
    // constants to int because of ":=" usage.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue30527"
    
    func issue30527G() {
    	issue30527.G(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 376 bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/InternalTransformers.java

    public abstract class InternalTransformers {
    
        /**
         * Creates a transformer that simply type casts the input to the given output type.
         *
         * @param outputType The type to cast the input to
         * @param <O> The type of the transformed object
         * @param <I> The type of the object to be transformed
         * @return A transformer that simply type casts the input to the given output type.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java

     * limitations under the License.
     */
    
    package org.gradle.internal;
    
    import javax.annotation.Nullable;
    
    public abstract class Cast {
    
        /**
         * Casts the given object to the given type, providing a better error message than the default.
         *
         * The standard {@link Class#cast(Object)} method produces unsatisfactory error messages on some platforms
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/cast_bf16_ops_to_f32.cc

          if (getElementTypeOrSelf(value).isBF16()) {
            return success();
          }
        }
        return failure();
      }
    
      void rewrite(Operation* op, PatternRewriter& rewriter) const override {
        // Casts inputs of the operation.
        for (int i = 0; i < op->getNumOperands(); i++) {
          Value input = op->getOperand(i);
          if (getElementTypeOrSelf(input).isBF16()) {
            Value f32_cast = rewriter.create<TF::CastOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/ir/Passes.td

    }
    
    def QuantConvertSimulatedQuant
        : Pass<"quant-convert-simulated-quantization", "func::FuncOp"> {
      let summary = "Converts training-time simulated quantization ops to "
                    "corresponding quantize/dequantize casts";
      let constructor = "mlir::quantfork::createConvertSimulatedQuantPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/internal/Transformers.java

    public abstract class Transformers {
    
        /**
         * Creates a transformer that simply type casts the input to the given output type.
         *
         * @param outputType The type to cast the input to
         * @param <O> The type of the transformed object
         * @param <I> The type of the object to be transformed
         * @return A transformer that simply type casts the input to the given output type.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 15 23:29:03 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SparseImmutableTable.java

      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SparseImmutableTable.java

      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h

    // Creates an instance of the ConvertTFQuantTypes pass, which will convert TF
    // qint types to int types and surround TF UniformQuantized ops with qint <->
    // int casts.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantTypesPass();
    
    // Creates an instance of the VerifyQuantLegalization pass, which verifies all
    // quant ops and types are lowered.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go

    func (s tmplData) SymFirst() string {
    	return string(s.Symbol[0])
    }
    
    // ucast casts an unsigned int to the size in s
    func ucast(i uint64, s sizedTestData) uint64 {
    	switch s.name {
    	case "uint32":
    		return uint64(uint32(i))
    	case "uint16":
    		return uint64(uint16(i))
    	case "uint8":
    		return uint64(uint8(i))
    	}
    	return i
    }
    
    // icast casts a signed int to the size in s
    func icast(i int64, s sizedTestData) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top