Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,248 for ucast (0.09 sec)

  1. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

        Operation* terminator = block.getTerminator();
    
        // Replace input_arg(tensor<quant_type>) -> tfr.cast
        // with input_arg(tensor<storage_type>) -> tfr.cast
        for (BlockArgument arg : block.getArguments()) {
          Type arg_type = arg.getType();
          if (auto quant_type = arg_type.cast<TensorType>()
                                    .getElementType()
                                    .dyn_cast<quant::QuantizedType>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_quantization_unit_loc.mlir

      %0 = "tf.Cast"(%arg0) {Truncate = false, device = ""} : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xbf16>
      %1 = "tf.Conv2D"(%0, %cst) {data_format = "NHWC", dilations = [1, 1, 1, 1], padding = "SAME", strides = [1, 1, 2, 1]}
           : (tensor<1x3x4x3xbf16>, tensor<2x3x3x2xbf16>) -> tensor<1x3x2x2xbf16> loc("Model/conv2d")
      %2 = "tf.Cast"(%1) {Truncate = false} : (tensor<1x3x2x2xbf16>) -> tensor<1x3x2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 02:39:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ManagedFactories.java

                    return null;
                }
                // TODO - should preserve the property type (which may be different to the provider type)
                ProviderInternal<S> provider = Cast.uncheckedNonnullCast(state);
                return type.cast(propertyOf(provider.getType(), provider));
            }
    
            <V> Property<V> propertyOf(Class<V> type, Provider<V> value) {
                return propertyFactory.property(type).value(value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/Specs.java

        public static <T> Spec<T> satisfyAll() {
            return Cast.uncheckedCast(SATISFIES_ALL);
        }
    
        public static final Spec<Object> SATISFIES_NONE = new Spec<Object>() {
            @Override
            public boolean isSatisfiedBy(Object element) {
                return false;
            }
        };
    
        public static <T> Spec<T> satisfyNone() {
            return Cast.uncheckedCast(SATISFIES_NONE);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/AuthenticationSupporter.java

            if (publicType == PasswordCredentials.class) {
                return Cast.uncheckedCast(DefaultPasswordCredentials.class);
            } else if (publicType == AwsCredentials.class) {
                return Cast.uncheckedCast(DefaultAwsCredentials.class);
            } else if (publicType == HttpHeaderCredentials.class) {
                return Cast.uncheckedCast(DefaultHttpHeaderCredentials.class);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_host_computation_expansion.mlir

      func.return
    }
    
    // CHECK-LABEL: func @cast_at_head_expanded
    func.func @cast_at_head_expanded(%arg0: tensor<?xi32>) {
      // CHECK: "tf_device.cluster"
      // CHECK-NEXT: "tf.Cast"
      // CHECK-SAME: _xla_outside_compilation = ""
      "tf_device.cluster"() ({
        %1 = "tf.Cast"(%arg0) : (tensor<?xi32>) -> (tensor<?xi32>)
        "tf.B"(%1) {_xla_outside_compilation = "cluster1"} : (tensor<?xi32>) -> ()
        "tf.C"() : () -> ()
        tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSanitizers.java

            if (String.class.equals(targetType)) {
                return Cast.uncheckedCast(STRING_VALUE_SANITIZER);
            } else {
                return Cast.uncheckedCast(IDENTITY_SANITIZER);
            }
        }
    
        public static <T> ValueCollector<T> collectorFor(Class<? extends T> elementType) {
            if (String.class.equals(elementType)) {
                return Cast.uncheckedCast(STRING_VALUE_COLLECTOR);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/internal/XcodeSchemeFile.java

                Map<String, String> attributes = Cast.uncheckedNonnullCast(xml.attributes());
                attributes.put("buildForRunning", toYesNo(buildForRunning));
            }
    
            public void setBuildForTesting(boolean buildForTesting) {
                Map<String, String> attributes = Cast.uncheckedNonnullCast(xml.attributes());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/optimize.td

      "static_cast<int32_t>($0.getType().cast<RankedTensorType>().getDimSize(  "
      "  $0.getType().cast<RankedTensorType>().getRank() - 1)))">;
    
    // Check whether the tensor is ranked and whether its last dim is static.
    def IsRankedShapeLastDimStatic : Constraint<And<[
      CPred<"$0.getType().isa<RankedTensorType>()">,
      CPred<"!$0.getType().cast<ShapedType>().isDynamicDim( "
      "  $0.getType().cast<RankedTensorType>().getRank() - 1)">]>>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 22 07:31:23 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderTestUtil.java

            assert values.length > 0;
            return new TestProvider<>(Cast.uncheckedNonnullCast(values[0].getClass()), Arrays.asList(values), null);
        }
    
        public static <T> ProviderInternal<T> withChangingExecutionTimeValues(T... values) {
            assert values.length > 0;
            return new TestProviderWithChangingValue<>(Cast.uncheckedNonnullCast(values[0].getClass()), Arrays.asList(values), null);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top