Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for getDtype (0.12 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  2. 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)
  3. guava/src/com/google/common/reflect/TypeToken.java

       *
       * <p>For example:
       *
       * <pre>{@code
       * abstract class IKnowMyType<T> {
       *   TypeToken<T> getMyType() {
       *     return new TypeToken<T>(getClass()) {};
       *   }
       * }
       *
       * new IKnowMyType<String>() {}.getMyType() => String
       * }</pre>
       */
      protected TypeToken(Class<?> declaringClass) {
        Type captured = super.capture();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

        private static final Type OBJECT_TYPE = Type.getType(Object.class);
        private static final Type STRING_TYPE = Type.getType(String.class);
        private static final Type CLASS_TYPE = Type.getType(Class.class);
        private static final Type CLOSURE_TYPE = Type.getType(Closure.class);
        private static final Type TYPE_CONVERTER_TYPE = Type.getType(TypeConverter.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

            loc, tensorflow::GetTypeFromTFTensorShape({}, rewriter.getI1Type()),
            size_diff, scalar_zero);
    
        // Build the argument/result types for if branch function.
        auto input_shape = rewriter.create<TF::ShapeOp>(
            loc, tensorflow::GetTypeFromTFTensorShape({-1}, shape_dtype),
            input_handle);
    
        Type branch_args_type[] = {input_handle.getType(), input_shape.getType(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      "TFL::IsBroadcastableElementsAttrAndType($0.getType(), $1.getType())">>;
    
    def OperandsBroadcastToOutputType : Constraint<CPred<
      "TFL::OperandsBroadcastToOutputType($0.getType(), $1.getType(), "
                                         "$2.getType())">>;
    
    def IsTailOfShape : Constraint<CPred<
      "TFL::IsTailOfShape($0.getType(), $1.getType())">>;
    
    def IsReducedTailOfShape : Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

    bool IsResource(Value value) {
      return mlir::isa<TF::ResourceType>(getElementTypeOrSelf(value.getType()));
    }
    
    // Get the type of the data contained in a resource. Returns null if there is
    // no single type in the resource.
    Type GetResourceSubtype(Value value) {
      auto resource_type =
          mlir::dyn_cast<TF::ResourceType>(getElementTypeOrSelf(value.getType()));
      auto subtypes = resource_type.getSubtypes();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

            int type = be.getOperation().getType();
            if ((type == Types.ASSIGNMENT_OPERATOR || type == Types.EQUAL)
                && left instanceof ClassExpression) {
                ClassExpression ce = (ClassExpression) left;
                String error = "you tried to assign a value to the class '" + ce.getType().getName() + "'";
                if (ce.getType().isScript()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        auto input_type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType());
        if (!input_type) return failure();
        auto fft_len = rfft_op.getFftLength();
        auto fft_len_type = mlir::dyn_cast_or_null<ShapedType>(fft_len.getType());
        if (!fft_len_type) return failure();
    
        auto output_type =
            mlir::dyn_cast_or_null<RankedTensorType>(rfft_op.getResult().getType());
        if (!output_type) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
Back to top