Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,659 for casts (0.12 sec)

  1. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

          >();
    }
    
    OpFoldResult StorageCastOp::fold(FoldAdaptor) {
      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
        return OpFoldResult();
      return srcScastOp.getArg();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/artifacts/defineRepository/kotlin/build.gradle.kts

    // tag::ivy-repo-with-maven-layout[]
    repositories {
        ivy {
            url = uri("http://repo.mycompany.com/repo")
            layout("maven")
        }
    }
    // end::ivy-repo-with-maven-layout[]
    
    // the casts in the three following sections should be unnecessary once
    // https://github.com/gradle/gradle/issues/6529 is fixed.
    
    // tag::ivy-repo-with-pattern-layout[]
    repositories {
        ivy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. maven-di/src/main/java/org/apache/maven/di/Key.java

                    : typeArgument;
        }
    
        public Type getType() {
            return type;
        }
    
        /**
         * A shortcut for <code>{@link Types#getRawType(Type)}(key.getType())</code>.
         * Also casts the result to a properly parameterized class.
         */
        @SuppressWarnings("unchecked")
        public Class<T> getRawType() {
            return (Class<T>) Types.getRawType(type);
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
          Map rawMap = map;
          @SuppressWarnings("unchecked") // covariant casts safe (unmodifiable)
          ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap<B>) rawMap;
          return cast;
        }
        return new Builder<B>().putAll(map).build();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h

    // inputs and returns the second input. Functions like this are used by update
    // scatter like ops.
    template <>
    LogicalResult MatchBinaryReduceFunction<void>(mlir::Region& function);
    
    // Util that casts 'val' to Int32 by adding a tfl cast Op.
    Value CreateCastToInt32(Value val, Location loc, PatternRewriter& rewriter);
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 11:35:25 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

    //===----------------------------------------------------------------------===//
    // Op quantization pass-through patterns.
    //===----------------------------------------------------------------------===//
    // Casts result type of $1 to a quantized type by using the quantization
    // parameters from the type in $0.
    class UpdateShapeWithAxis<int i> : NativeCodeCall<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc

          // Replace the current terminator (a `tf.Yield` op) with an `scf.yield`
          // op. The input of the `scf.yield` op is a list of results of `tf.Cast`
          // ops, each of which casts an operand of the current terminator to the
          // corresponding result type of the `tf.IfRegion` op.
          Operation* current_terminator =
              scf_then_or_else_region.front().getTerminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ModelType.java

                return builder.build();
            } else {
                return Collections.emptyList();
            }
        }
    
        /**
         * Casts this {@code ModelType} object to represent a subclass of the class
         * represented by the specified class object.  Checks that the cast
         * is valid, and throws a {@code ClassCastException} if it is not.  If
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top