- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for realMap (0.13 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/converter.go
} switch fv.Type().Kind() { case reflect.String: realMap[fieldInfo.name] = fv.String() case reflect.Bool: realMap[fieldInfo.name] = fv.Bool() case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: realMap[fieldInfo.name] = fv.Int() case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: realMap[fieldInfo.name] = fv.Uint() case reflect.Float32, reflect.Float64:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 16:02:13 UTC 2023 - 24.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go
}, { name: "valid Real-Ip", realIP: "2.2.2.2", remoteAddr: "1.2.3.4", expected: []string{"2.2.2.2", "1.2.3.4"}, }, { name: "redundant Real-Ip", realIP: "1.2.3.4", remoteAddr: "1.2.3.4", expected: []string{"1.2.3.4"}, }, { name: "valid Real-Ip with forwarded-for", realIP: "2.2.2.2", forwardedFor: "120.120.120.126,4.5.6.7", remoteAddr: "1.2.3.4",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:21:56 UTC 2023 - 24.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc
LogicalResult UnwrapTFCustomOps(func::FuncOp fn, OpBuilder& builder) { llvm::SmallVector<Operation*, 4> wrapped_ops; fn.walk([&](TFL::CustomTfOp custom_op) { auto* real_op = &custom_op.getBody().front().front(); wrapped_ops.push_back(real_op); }); for (auto* op : wrapped_ops) { auto parent_op = op->getParentOfType<TFL::CustomTfOp>(); if (!parent_op) continue; builder.setInsertionPoint(parent_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc
const UniformQuantizedValueConverter &converter) { return realFPElementsAttr.mapValues( quantizedElementType.getStorageType(), [&converter](const APFloat &realVal) { return converter.quantizeFloatToInt(realVal); }); } /// Converts a real expressed SplatElementsAttr to a corresponding /// SplatElementsAttr containing quantized storage values assuming the given
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/test/framework/tools/featuresgen/cmd/root.go
rootCmd.Flags().StringVarP(&output, "outputFile", "o", "features.gen.go", "output Go file with labels as string consts") } // Parses a map in the yaml file func readMap(m map[any]any, path []string) []string { var labels []string for k, v := range m { // If we see "values," then the element is a root and we shouldn't put it in our label name if k == "values" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.4K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
if r != 0 { return r } return cmp.Compare(a.value, b.value) }) return entries } got := readMap(out) want := readMap(in) if !reflect.DeepEqual(got, want) { t.Fatalf("\nEncode: %v\nDecode: %v", want, got) } } func TestDecodePartial(t *testing.T) { type T struct { X []int Y string } var buf bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc
TypeID::get<TF::MatrixBandPartOp>(), TypeID::get<TF::MaxPool3DGradOp>(), TypeID::get<TF::PreventGradientOp>(), TypeID::get<TF::RandomShuffleOp>(), TypeID::get<TF::RealOp>(), TypeID::get<TF::ReciprocalOp>(), TypeID::get<TF::ReluOp>(), TypeID::get<TF::Relu6Op>(), TypeID::get<TF::ReluGradOp>(), TypeID::get<TF::RsqrtOp>(), TypeID::get<TF::SelectOp>(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 21.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
CustomTfOpAdaptor op(operands, attr, properties, regions); if (op.getRegions().empty()) return success(); auto* real_op = &op.getBody().front().front(); if (llvm::isa<TF::FakeQuantWithMinMaxArgsOp, TF::FakeQuantWithMinMaxVarsOp, TF::FakeQuantWithMinMaxVarsPerChannelOp>(real_op)) { Value input = *operands.begin(); inferredReturnTypes.assign({input.getType()}); } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)