- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,155 for converts (0.6 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
//===----------------------------------------------------------------------===// /// Converts a TF::SoftsignOp to HLO. /// Softsign(features) = features / (1 + abs(features)) def : Pat<(TF_SoftsignOp AnyTensor:$input), (MHLO_DivOp $input, (MHLO_AddOp (MHLO_ConstantLike<"1"> $input), (MHLO_AbsOp $input)) ) >; /// Converts a TF::SoftsignGradOp to HLO.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
pkg/scheduler/extender.go
// Extender will always return NodeNameToMetaVictims. // So let's convert it to NodeNameToVictims by using <nodeInfos>. newNodeNameToVictims, err := h.convertToVictims(result.NodeNameToMetaVictims, nodeInfos) if err != nil { return nil, err } // Do not override <nodeNameToVictims>. return newNodeNameToVictims, nil } // convertToVictims converts "nodeNameToMetaVictims" from object identifiers,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.4K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/const.go
// convlit1 converts an untyped expression n to type t. If n already // has a type, convlit1 has no effect. // // For explicit conversions, t must be non-nil, and integer-to-string // conversions are allowed. // // For implicit conversions (e.g., assignments), t may be nil; if so, // n is converted to its default type. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/cel_validation.go
jsonSchema *apiextensions.JSONSchemaProps // converter converts a JSONSchemaProps to CELTypeInfo. // Tests that check how many conversions are performed during CRD validation wrap DefaultConverter // with a converter that counts how many conversion operations. converter converter // MaxCardinality represents a limit to the number of data elements that can exist for the current
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 13.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go
} default: allErrs = append(allErrs, field.Invalid(fldPath, "", err.Error())) } } return allErrs } // ConvertJSONSchemaProps converts the schema from apiextensions.JSONSchemaPropos to go-openapi/spec.Schema. func ConvertJSONSchemaProps(in *apiextensions.JSONSchemaProps, out *spec.Schema) error { return ConvertJSONSchemaPropsWithPostProcess(in, out, nil) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 18:23:28 UTC 2023 - 15K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
let assemblyFormat = "operands attr-dict"; } def PredicateOp : TensorflowMlrt_Op<"predicate", [Pure]> { let summary = "Converts a fallback tensor to a bool"; let description = [{ Note: this kernel is used for CPU tensors. Converts a fallback tensor to a bool with the following rules: - For 0D tensors, truthiness is determined by comparing against a "zero"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/canonicalize.mlir
// CHECK-NEXT: "tfl.custom"(%0, %2) <{custom_code = "FlexAssignVariableOp" // CHECK-NEXT: %3 = "tfl.custom"(%0) <{custom_code = "FlexReadVariableOp" func.return %3 : tensor<1x10xf32> } // ----- // Converts tfl.broadcast_to to tfl.reshape if input and output have the same // number of elements. // CHECK-LABEL: broadcast_to_to_reshape
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 20.6K bytes - Viewed (0) -
pkg/wasm/convert.go
return nil, nil, nil, fmt.Errorf("failed to convert extension config struct %+v to Wasm Network filter", typedStruct) } } else if typedStruct.TypeUrl == model.WasmNetworkFilterType { wasmNetwork = true if err := conversion.StructToMessage(typedStruct.Value, wasmNetworkFilterConfig); err != nil { return nil, nil, nil, fmt.Errorf("failed to convert extension config struct %+v to Wasm HTTP filter", typedStruct) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py
) -> np.ndarray: """Quantizes and dequantizes hist_mids using quant_min and quant_max. Quantization converts the range of numbers from [quant_min, quant_max] to [0, 2^num_bits - 1]. Values less than quant_min are converted to 0, and values greater than quant_max are converted to 2^num_bits - 1. The histogram represents the distribution of the data, and our goal is to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 14.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h
ElementsAttr convert(Attribute real_value); private: // Quantize an DenseFPElementsAttr by the quantization parameters. DenseElementsAttr convert(DenseFPElementsAttr attr); // Get a uniform converter for the index-th chunk along the quantizationDim. // All the elements in this chunk is quantized by the returned converter.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 9.8K bytes - Viewed (0)