Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,248 for ucast (0.07 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_tf_drq.mlir

        %identity = "tf.Identity"(%input) : (tensor<*xi8>) -> tensor<*xi8>
        %input_i32 = "tf.Cast"(%identity) : (tensor<*xi8>) -> tensor<*xi32>
        %output = "tf.Sub"(%input_i32, %zp) : (tensor<*xi32>, tensor<*xi32>) -> tensor<*xi32>
        %cast = "tf.Cast"(%output) : (tensor<*xi32>) -> tensor<*xf32>
        %mul = "tf.Mul"(%cast, %scale) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
        func.return %mul : tensor<*xf32>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops_large_constants.mlir

        %1 = "tf.Round"(%0) : (tensor<1x2240x2240x3xf32>) -> tensor<1x2240x2240x3xf32>
        %2 = "tf.Cast"(%1) : (tensor<1x2240x2240x3xf32>) -> tensor<1x2240x2240x3xi32>
        %3 = "tf.AddV2"(%2, %arg2) : (tensor<1x2240x2240x3xi32>, tensor<i32>) -> tensor<1x2240x2240x3xi32>
        %4 = "tf.Cast"(%3) {Truncate = false} : (tensor<1x2240x2240x3xi32>) -> tensor<1x2240x2240x3xi8>
        return %4 : tensor<1x2240x2240x3xi8>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/PublicationFieldValidator.java

            }
            return type.cast(this);
        }
    
        public T notEmpty() {
            notNull();
            if (value.length() == 0) {
                throw failure(String.format("%s cannot be empty.", name));
            }
            return type.cast(this);
        }
    
        public T validInFileName() {
            if (value == null || value.length() == 0) {
                return type.cast(this);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/tests/control_flow.mlir

      func.return %0 : tensor<1x2x3xf32>
    
    // CHECK-NEXT: %[[AXIS:.*]] = arith.constant 0 : i32
    // CHECK-NEXT: %[[CAST:.*]] = "tfr.cast"(%arg0) : (tensor<2x3xf32>) -> !tfr.tensor
    // CHECK-NEXT: %[[ED:.*]] = tfr.call @tf__expand_dims(%[[CAST]], %[[AXIS]]) : (!tfr.tensor, i32) -> !tfr.tensor
    // CHECK-NEXT: %[[BACK:.*]] = "tfr.cast"(%[[ED]]) : (!tfr.tensor) -> tensor<1x2x3xf32>
    // CHECK-NEXT: return %[[BACK]] : tensor<1x2x3xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:58:25 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/CoercingStringValueSnapshot.java

            if (type.isInstance(getValue())) {
                return type.cast(this);
            }
            if (type.isEnum()) {
                return type.cast(Enum.valueOf(Cast.uncheckedNonnullCast(type.asSubclass(Enum.class)), getValue()));
            }
            if (Named.class.isAssignableFrom(type)) {
                return type.cast(instantiator.named(type.asSubclass(Named.class), getValue()));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (!mlir::cast<ShapedType>(conv_op.getRhs().getType()).hasStaticShape()) {
          return false;
        }
        if (!mlir::cast<ShapedType>(conv_op.getLhs().getType()).hasStaticShape() &&
            !mlir::cast<ShapedType>(conv_op.getType()).hasStaticShape()) {
          auto dnums = conv_op.getDimensionNumbers();
          auto lhs_type = mlir::cast<ShapedType>(conv_op.getLhs().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/collections/DefaultDomainObjectCollectionFactory.java

            return Cast.uncheckedCast(instantiator.newInstance(DefaultPolymorphicDomainObjectContainer.class, elementType, instantiator, elementInstantiator, collectionCallbackActionDecorator));
        }
    
        @Override
        public <T> DomainObjectSet<T> newDomainObjectSet(Class<T> elementType) {
            Instantiator instantiator = instantiatorFactory.decorateLenient();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/internal/CastTest.groovy

    package org.gradle.internal
    
    import spock.lang.Specification
    
    import static Cast.cast
    
    class CastTest extends Specification {
    
        def "casting"() {
            given:
            def arg = "1"
    
            when:
            cast(Integer, arg)
    
            then:
            def e = thrown(ClassCastException)
            e.message == "Failed to cast object $arg of type ${arg.class.name} to target type ${Integer.name}"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/tests/rewrite_quantized_io.mlir

    // CHECK: %[[quant:.*]] = "tfr.cast"(%arg0) : (tensor<1x10xi8>) -> !tfr.tensor
    // CHECK: %[[scale_cast:.*]] = "tfr.cast"(%[[scale]])
    // CHECK: %[[zp_cast:.*]] = "tfr.cast"(%[[zp]])
    // CHECK: %[[requant:.*]] = tfr.call @tf__requantize(%[[quant]], %[[scale_cast]], %[[zp_cast]])
    // CHECK: %[[result:.*]] = "tfr.cast"(%[[requant]])
    // CHECK-NOT: quant.uniform
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_xla_weight_only.mlir

        %identity = "tf.Identity"(%input) : (tensor<*xi8>) -> tensor<*xi8>
        %input_i32 = "tf.Cast"(%identity) : (tensor<*xi8>) -> tensor<*xi32>
        %output = "tf.Sub"(%input_i32, %zp) : (tensor<*xi32>, tensor<*xi32>) -> tensor<*xi32>
        %cast = "tf.Cast"(%output) : (tensor<*xi32>) -> tensor<*xf32>
        %mul = "tf.Mul"(%cast, %scale) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
        func.return %mul : tensor<*xf32>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top