Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 347 for ucast (0.25 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

        spec->required_same_scale_func = [op](const bool sign,
                                              const int bit_width) {
          return cast<SameScalesOpInterface>(op)
              .RequiredSameOperandsAndResultsScale(sign, bit_width);
        };
        spec->required_same_quantized_axes_func = [op]() {
          return cast<SameScalesOpInterface>(op).RequiredSameQuantizedAxes();
        };
      }
      if (isa<FixedOutputRangeInterface>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

        // Check if the same-scale requirement is met.
        auto dq_arg_type = preceding_sc_op.getArg().getType().cast<TensorType>();
        auto qtype = dq_arg_type.getElementType().cast<QuantizedType>();
        auto q_result_type = sc_op.getType().cast<TensorType>();
        auto out_qtype = q_result_type.getElementType().cast<QuantizedType>();
        if (qtype != out_qtype) {
          avg_pool_op.emitError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

                MapProperty<Object, Object> asMapProperty = Cast.uncheckedNonnullCast(target);
                DefaultProvider<Map<Object, Object>> convention = new DefaultProvider<>(() -> Cast.uncheckedNonnullCast(mapping.getValue(_convention, _source)));
                asMapProperty.convention(convention);
            } else if (target instanceof HasMultipleValues) {
                HasMultipleValues<Object> asCollectionProperty = Cast.uncheckedNonnullCast(target);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

      transpose_op++;
      EXPECT_EQ(mlir::cast<RankedTensorType>(transpose_op->getOperand(0).getType())
                    .getDimSize(0),
                3);
      EXPECT_EQ(mlir::cast<RankedTensorType>(transpose_op->getOperand(0).getType())
                    .getDimSize(1),
                12);
      EXPECT_EQ(mlir::cast<RankedTensorType>(transpose_op->getResult(0).getType())
                    .getDimSize(0),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

            %input_i32 = "tf.Cast"(%weight) : (tensor<1024x24x24x3xi8>) -> tensor<1024x24x24x3xi32>
            %output = "tf.Sub"(%input_i32, %zp) : (tensor<1024x24x24x3xi32>, tensor<i32>) -> tensor<1024x24x24x3xi32>
            %cast = "tf.Cast"(%output) : (tensor<1024x24x24x3xi32>) -> tensor<1024x24x24x3xf32>
            %mul = "tf.Mul"(%cast, %scale) : (tensor<1024x24x24x3xf32>, tensor<f32>) -> tensor<1024x24x24x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

                details == 'redundant cast to java.lang.String'
                solutions.empty
                verifyAll(getSingleLocation(ReceivedProblem.ReceivedFileLocation)) {
                    it.path == fooFileLocation.absolutePath
                }
                additionalData.asMap ["formatted"] == """\
    $fooFileLocation:5: warning: [cast] redundant cast to $expectedType
            String s = (String)"Hello World";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        if (!mlir::cast<ShapedType>(lhs.getType()).hasStaticShape() ||
            !mlir::cast<ShapedType>(rhs.getType()).hasStaticShape() ||
            !mlir::cast<ShapedType>(cond.getType()).hasStaticShape()) {
          return rewriteOpWithDynamicInput(op, rewriter);
        }
    
        auto lhs_shape = mlir::cast<ShapedType>(lhs.getType()).getShape();
        auto rhs_shape = mlir::cast<ShapedType>(rhs.getType()).getShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

      for (int i : llvm::seq<int>(1, num_dims - 1)) {
        Value input_size_i = GetDimValue(builder, loc, input_shape_value, i);
        const int stride_i = mlir::cast<IntegerAttr>(strides[i]).getInt();
        const int dilation_i = mlir::cast<IntegerAttr>(dilations[i]).getInt();
        const int filter_i = filter_shape.getDimSize(i - 1);
        Value pad_i_low, pad_i_high;
        GetSamePaddingValues(builder, loc, input_size_i, filter_i, dilation_i,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

                return Cast.uncheckedNonnullCast(STRING_SERIALIZER);
            }
            if (type.equals(Long.class)) {
                return Cast.uncheckedNonnullCast(LONG_SERIALIZER);
            }
            if (type.equals(File.class)) {
                return Cast.uncheckedNonnullCast(FILE_SERIALIZER);
            }
            if (type.equals(byte[].class)) {
                return Cast.uncheckedNonnullCast(BYTE_ARRAY_SERIALIZER);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

    // StableHLO+TFL --> VHLO+TFL Ops
    //===----------------------------------------------------------------------===//
    
    // Wrap op result uses in an unrealized cast to create a cast to buffer
    // any type changes to result, and apply type converter to result:
    //   result = op(V0)
    //   V1     = op2(result)
    //   ==>
    //   result = op(V0)
    //   V1     = unrealized_cast(result)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top