- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 59 for new_types (0.25 sec)
-
android/guava-tests/test/com/google/common/net/MediaTypeTest.java
MediaType newType = MediaType.createFontType("yams"); assertEquals("font", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateImageType() { MediaType newType = MediaType.createImageType("yams"); assertEquals("image", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateTextType() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 05 13:16:00 UTC 2024 - 21.4K bytes - Viewed (0) -
pkg/scheduler/util/utils.go
// object stored in it will be converted instead. func As[T any](oldObj, newobj interface{}) (T, T, error) { var oldTyped T var newTyped T var ok bool if newobj != nil { newTyped, ok = newobj.(T) if !ok { return oldTyped, newTyped, fmt.Errorf("expected %T, but got %T", newTyped, newobj) } } if oldObj != nil { if realOldObj, ok := oldObj.(cache.DeletedFinalStateUnknown); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc
quant::QuantParams quant_params) { Type expressed_type = value.getType(); Type new_type = quant_params.castFromExpressedType(expressed_type); // This value isn't an expressed type (float), skip. if (!new_type) return; Block &block = value.getParentRegion()->front(); Operation *op = value.getDefiningOp(); if (op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
new_scales, qtype.getZeroPoints(), qtype.getQuantizedDimension(), qtype.getStorageTypeMin(), qtype.getStorageTypeMax()); if (const auto new_type = new_ele_type.castFromExpressedType( quant::QuantizedType::castToExpressedType(input))) { return TypeAttr::get(new_type); } } // Currently, we only support per-axis quantized type. return {}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/Types.java
import org.apache.maven.api.annotations.Nullable; import static java.util.stream.Collectors.joining; /** * Various helper methods for type processing */ public class Types { public static final Type[] NO_TYPES = new Type[0]; public static final WildcardType WILDCARD_TYPE_ANY = new WildcardTypeImpl(new Type[] {Object.class}, new Type[0]);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 26.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt
} else { scope.exportClassLoader } } else { this.classLoader } val newType = Class.forName(name, false, classLoader) classes.putInstance(id, newType) return newType } private fun ReadContext.readScope(): ClassLoaderScope { val id = readSmallInt() val scope = scopes.getInstance(id)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
continue; // Create a fully range quantized constant. if (full_range_const == value) { mlir::quant::QuantizedType new_qtype; if (auto per_axis = qtype.dyn_cast<mlir::quant::UniformQuantizedPerAxisType>()) { new_qtype = mlir::quant::UniformQuantizedPerAxisType::get( per_axis.getFlags(), per_axis.getStorageType(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
src/cmd/compile/internal/types/universe.go
for et := Kind(0); et < NTYPE; et++ { SimType[et] = et } Types[TANY] = newType(TANY) // note: an old placeholder type, NOT the new builtin 'any' alias for interface{} Types[TINTER] = NewInterface(nil) CheckSize(Types[TINTER]) defBasic := func(kind Kind, pkg *Pkg, name string) *Type { typ := newType(kind) obj := defTypeName(pkg.Lookup(name), typ) typ.obj = obj if kind != TANY { CheckSize(typ)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
// Update the scale in the quantize op. auto new_qtype = RescaleQtype(q_op.getQtype(), gamma_cst); if (!new_qtype) return failure(); rewriter.replaceOpWithNewOp<TFL::QuantizeOp>(q_op, new_qtype.getValue(), new_filter, new_qtype); // If bias isn't None, it needs to be multiplied as well.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
ComparableType *Type // Types to represent untyped string and boolean constants. UntypedString = newType(TSTRING) UntypedBool = newType(TBOOL) // Types to represent untyped numeric constants. UntypedInt = newType(TIDEAL) UntypedRune = newType(TIDEAL) UntypedFloat = newType(TIDEAL) UntypedComplex = newType(TIDEAL) ) // UntypedTypes maps from a constant.Kind to its untyped Type // representation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)