Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 973 for getDtype (0.36 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

    bool IsI8ToF32Cast(stablehlo::ConvertOp convert_op) {
      const bool is_i8_operand =
          convert_op.getOperand().getType().getElementType().isInteger(/*width=*/8);
      const bool is_f32_result =
          mlir::isa<Float32Type>(convert_op.getResult().getType().getElementType());
      return is_i8_operand && is_f32_result;
    }
    
    // Tests whether a `stablehlo::ConvertOp` is a i8 -> i32 cast.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (!inner_reshape_op.getOutput().getType().hasStaticShape() ||
            !tfl_broadcast_to_op.getOutput().getType().hasStaticShape() ||
            !outer_reshape_op.getOutput().getType().hasStaticShape()) {
          return rewriter.notifyMatchFailure(
              loc, "Unsupported shapes. Currely only static shapes are supported");
        }
    
        if (!IsLastDimEqualToNumElements(inner_reshape_input.getType(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      // Hybrid lookup is not supported.
      if (value_attr.getType().getElementType() != getType().getElementType()) {
        return {};
      }
    
      // Expect 1d lookup tensor and a non-scalar input.
      if (lookup_attr.getType().getRank() != 1 ||
          value_attr.getType().getRank() == 0) {
        return {};
      }
    
      int64_t outer_dim_size = value_attr.getType().getShape()[0];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  4. maven-di/src/test/java/org/apache/maven/di/impl/TypeUtilsTest.java

                Type expected = new Key<Set<Set<Set<Integer>>>>() {}.getType();
                assertEquals(expected, simplifyType(type));
            }
    
            {
                Type type = new Key<Set<Set<? extends Set<Integer>>>>() {}.getType();
                Type expected = new Key<Set<Set<Set<Integer>>>>() {}.getType();
                assertEquals(expected, simplifyType(type));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          }
        }
        assertNotNull(new MyLocalClass<String>().getType());
      }
    
      private static <T> Type staticMethodWithAnonymousClass() {
        return new Object() {
          Type getType() {
            return new TypeToken<T>(getClass()) {}.getType();
          }
        }.getType();
      }
    
      public void testAnonymousClassInsideStaticMethod() {
        assertNotNull(staticMethodWithAnonymousClass());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          }
        }
        assertNotNull(new MyLocalClass<String>().getType());
      }
    
      private static <T> Type staticMethodWithAnonymousClass() {
        return new Object() {
          Type getType() {
            return new TypeToken<T>(getClass()) {}.getType();
          }
        }.getType();
      }
    
      public void testAnonymousClassInsideStaticMethod() {
        assertNotNull(staticMethodWithAnonymousClass());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

      if (!reshape_before) return failure();
    
      if (!dot.getLhs().getType().hasStaticShape() ||
          !dot.getRhs().getType().hasStaticShape() ||
          !reshape_before.getOperand().getType().hasStaticShape() ||
          !dot.getType().hasStaticShape() ||
          !reshape_after.getType().hasStaticShape()) {
        return rewriter.notifyMatchFailure(reshape_after,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

                                                   /*type=*/2);
      auto send = builder.create<SendOp>(
          loc, token.getType(), operand, token, channel_handle,
          /*is_host_transfer=*/builder.getBoolAttr(true));
    
      SetFrontendAttributes(send, index, key, operand.getType(),
                            /*device_to_host=*/true, host_handler_name);
    
      SetOpSharding(send, manual_sharding);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                getType(Project.class),
                getType("Lorg/gradle/api/internal/project/ProjectInternal;"),
                getType(Gradle.class),
                getType("Lorg/gradle/api/internal/GradleInternal;")
            );
            private static final Type JAVA_LANG_REFLECT_TYPE = getType(java.lang.reflect.Type.class);
            private static final Type OBJECT_TYPE = getType(Object.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolver.java

            if (expression.getType() == IncludeType.SYSTEM) {
                visitor.visitSystem(expression);
            } else if (expression.getType() == IncludeType.QUOTED) {
                visitor.visitQuoted(expression);
            } else if (expression.getType() == IncludeType.IDENTIFIER) {
                visitor.visitIdentifier(expression);
            } else if (expression.getType() == IncludeType.ARGS_LIST) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.4K bytes
    - Viewed (0)
Back to top