Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 541 for scast (1.23 sec)

  1. platforms/software/resources/src/main/java/org/gradle/internal/authentication/DefaultAuthenticationSchemeRegistry.java

     * limitations under the License.
     */
    
    package org.gradle.internal.authentication;
    
    import org.gradle.authentication.Authentication;
    import org.gradle.internal.Cast;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    
    public class DefaultAuthenticationSchemeRegistry implements AuthenticationSchemeRegistry {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

    }  // namespace
    
    Value GatherElements(Value indices, Value buffer, OpBuilder builder,
                         Location loc) {
      auto buffer_type = mlir::cast<RankedTensorType>(buffer.getType());
      auto result_shape = llvm::to_vector<8>(buffer_type.getShape());
      result_shape[0] =
          mlir::cast<RankedTensorType>(indices.getType()).getDimSize(0);
      int64_t maybe_contiguous_start = GetFirstIfIndicesAreContiguous(indices);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

    static bool IsFoldedByDefaultPolicy(Operation* inst) {
      bool has_unknown_shape = false;
      auto get_size = [&](TypeRange types) {
        int64_t size = 0;
        for (auto t : types) {
          auto tensor_type = mlir::cast<TensorType>(t);
          // Ignore types with undefined bit widths.
          if (!tensor_type.getElementType().isIntOrFloat()) continue;
          if (!tensor_type.hasStaticShape()) {
            has_unknown_shape = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

    // indices in `val2`.
    bool HasEqualElementSize(Value val1, Value val2, ArrayRef<int> val1_indices,
                             ArrayRef<int> val2_indices) {
      ShapedType val1_shape = mlir::cast<ShapedType>(val1.getType());
      ShapedType val2_shape = mlir::cast<ShapedType>(val2.getType());
      if (!val1_shape.hasRank() || !val2_shape.hasRank()) return false;
    
      int val1_result = 1;
      int val2_result = 1;
      for (auto idx : val1_indices) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/main/java/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMap.java

            return collection.toString();
        }
    
        private <S> ModelMap<S> toNonSubtypeMap(Class<S> type) {
            DomainObjectCollection<S> cast = toNonSubtype(type);
            org.gradle.api.Namer<S> castNamer = Cast.uncheckedCast(namer);
            return DomainObjectCollectionBackedModelMap.wrap(name, type, cast, NamedEntityInstantiators.nonSubtype(type, elementType), castNamer, Actions.doNothing());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/Platform.java

     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/FactoryBasedStructNodeInitializerExtractionStrategy.java

     * limitations under the License.
     */
    
    package org.gradle.model.internal.manage.schema.extract;
    
    import com.google.common.collect.ImmutableSet;
    import org.gradle.api.specs.Spec;
    import org.gradle.internal.Cast;
    import org.gradle.model.internal.core.NodeInitializer;
    import org.gradle.model.internal.core.NodeInitializerContext;
    import org.gradle.model.internal.inspect.FactoryBasedStructNodeInitializer;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/VariantFilesRules.java

    import org.gradle.api.artifacts.component.ModuleComponentIdentifier;
    import org.gradle.api.internal.artifacts.repositories.resolver.DefaultMutableVariantFilesMetadata;
    import org.gradle.internal.Cast;
    import org.gradle.internal.component.external.model.AbstractMutableModuleComponentResolveMetadata;
    import org.gradle.internal.component.external.model.ComponentVariant;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/typeconversion/MapNotationConverter.java

     * limitations under the License.
     */
    package org.gradle.internal.typeconversion;
    
    import org.gradle.api.InvalidUserDataException;
    import org.gradle.internal.Cast;
    import org.gradle.internal.UncheckedException;
    import org.gradle.internal.exceptions.DiagnosticsVisitor;
    import org.gradle.internal.reflect.CachedInvokable;
    import org.gradle.internal.reflect.ReflectionCache;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:07 UTC 2021
    - 6.9K bytes
    - Viewed (0)
Back to top