Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 615 for ucast (0.09 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir

      %1 = "tf.Round"(%0) : (tensor<1x100x100x1xf32>) -> tensor<1x100x100x1xf32>
      %2 = "tf.Cast"(%1) : (tensor<1x100x100x1xf32>) -> tensor<1x100x100x1xi32>
      %3 = "tf.AddV2"(%2, %cst) : (tensor<1x100x100x1xi32>, tensor<i32>) -> tensor<1x100x100x1xi32>
    
      %4 = "tf.ClipByValue"(%3, %cst, %cst_9) : (tensor<1x100x100x1xi32>, tensor<i32>, tensor<i32>) -> tensor<1x100x100x1xi32>
      %5 = "tf.Cast"(%4) {Truncate = false} : (tensor<1x100x100x1xi32>) -> tensor<1x100x100x1xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir

    // CHECK: %[[quant:.*]] = "tf.Cast"(%[[round]]) : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xi8>
    // CHECK: %[[pad:.*]] = "tf.PadV2"(%[[quant]]
    // CHECK: %[[xlaconv:.*]] = "tf.XlaConvV2"(%[[pad]]
    // CHECK: %[[sub:.*]] = "tf.Sub"(%[[xlaconv]]
    // CHECK: %[[cast:.*]] = "tf.Cast"(%[[sub]]) <{Truncate = false}> : (tensor<1x3x2x2xi32>) -> tensor<1x3x2x2xf32>
    // CHECK: %[[dequant1:.*]] = "tf.Mul"(%[[cast]]
    // CHECK: %[[relu:.*]] = "tf.Relu"(%[[dequant1]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

          new_unit.set_node_name(name_loc_id.str());
        }
      };
    
      ArrayRef<Location> locations = mlir::cast<FusedLoc>(loc).getLocations();
      if (IsImportLocPattern(mlir::cast<FusedLoc>(loc))) {
        QuantizationUnit new_unit;
        // Op type is a NameLoc with the ":" suffix.
        StringRef op_type_with_suffix =
            mlir::cast<NameLoc>(locations.front()).getName().strref();
        StringRef op_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedEnumValueSnapshot.java

        }
    
        @Nullable
        @Override
        public <S> S coerce(Class<S> type) {
            if (type.isInstance(value)) {
                return type.cast(value);
            }
            if (type.isEnum() && type.getName().equals(value.getDeclaringClass().getName())) {
                return type.cast(Enum.valueOf(Cast.uncheckedNonnullCast(type.asSubclass(Enum.class)), value.name()));
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/tests/module_test.cc

      TF_ASSERT_OK_AND_ASSIGN(tf::libtf::Dictionary node,
                              Cast<tf::libtf::Dictionary>(objects.front()));
    
      // The next three nodes of data-structure-model are lists.
      for (unsigned int i = 1; i < 4; i++) {
        TF_ASSERT_OK_AND_ASSIGN(tf::libtf::List node,
                                Cast<tf::libtf::List>(objects.at(i)));
      }
      // The last three nodes of data-structure-model are dictionaries.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/DescribingAndSpec.java

    import groovy.lang.Closure;
    import org.gradle.api.specs.AndSpec;
    import org.gradle.api.specs.CompositeSpec;
    import org.gradle.api.specs.Spec;
    import org.gradle.api.specs.internal.ClosureSpec;
    import org.gradle.internal.Cast;
    
    import javax.annotation.Nullable;
    
    /**
     * A {@link CompositeSpec} that requires all component specs to provide a description.
     * The aggregation is based on an {@link AndSpec}.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 28 22:10:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/AbstractIntersection.java

            if (leftType.isInstance(left) && rightType.isInstance(right)) {
                return doIntersect(leftType.cast(left), rightType.cast(right), factory);
            } else {
                return doIntersect(leftType.cast(right), rightType.cast(left), factory);
            }
        }
    
        /**
         * Intersects the given exclude specs.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 21:03:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/ASN1Util.java

         * @param object
         * @return object cast to type
         * @throws PACDecodingException
         */
        public static <T> T as ( Class<T> type, Object object ) throws PACDecodingException {
            if ( !type.isInstance(object) ) {
                throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass());
            }
    
            return type.cast(object);
        }
    
    
        /**
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Providers.java

                ValueSupplier.SideEffect<?> sideEffect = value.getSideEffect();
                return sideEffect == null ? provider : provider.withSideEffect(Cast.uncheckedCast(sideEffect));
            }
        }
    
        public static <T> ProviderInternal<T> notDefined() {
            return Cast.uncheckedCast(NULL_PROVIDER);
        }
    
        public static <T> ProviderInternal<T> of(T value) {
            if (value == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc

      StringRef caller_name =
          mlir::cast<NameLoc>(callsite_loc.getCaller()).getName().strref();
      return caller_name.starts_with(kQuantizationUnitPrefix) &&
             caller_name.ends_with(kQuantizationUnitSuffix);
    }
    
    std::optional<QuantizationUnitLoc::QuantizationUnit>
    FindQuantizationUnitFromLoc(Location loc) {
      if (isa<QuantizationUnitLoc>(loc)) {
        Location caller = mlir::cast<CallSiteLoc>(loc).getCaller();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top