- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ListValue (0.32 sec)
-
test/fixedbugs/issue57846.go
package main func Float64D3(list [][][]float64, value float64) int { valueCount := 0 for _, listValue := range list { valueCount += Float64D2(listValue, value) } return valueCount } func Float64(list []float64, value float64) int { valueCount := 0 for _, listValue := range list { if listValue == value { valueCount++ } } return valueCount }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 18:21:06 UTC 2023 - 705 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value.go
type Field struct { ID int64 Name string Ref *DynValue } // NewListValue returns an empty ListValue instance. func NewListValue() *ListValue { return &ListValue{ Entries: []*DynValue{}, } } // ListValue contains a list of dynamically typed entries. type ListValue struct { Entries []*DynValue initValueSet sync.Once valueSet map[ref.Val]struct{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 20.5K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_waypoint.go
// Ensure VIP cluster has services metadata for stats filter usage im := getOrCreateIstioMetadata(localCluster.cluster) im.Fields["services"] = &structpb.Value{ Kind: &structpb.Value_ListValue{ ListValue: &structpb.ListValue{ Values: []*structpb.Value{}, }, }, } svcMetaList := im.Fields["services"].GetListValue() svcMetaList.Values = append(svcMetaList.Values, buildServiceMetadata(svc))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.h
} string PrintTensor(const TensorProto& tensor_proto); string PrintTensorProto(const TensorProto& proto); string PrintAttrValue(StringPiece, const AttrValue& attr_value); bool IsEmptyList(const AttrValue::ListValue& list); string ToCamelCase(StringPiece str); string SeparateNamespaces(StringPiece str); // Returns a <string, bool> pair. The string is the C++ type name to be used for
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 4.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
) strides_attr = attr_value_pb2.AttrValue( list=attr_value_pb2.AttrValue.ListValue(i=strides_to_check) ) if enable_per_channel_quantization: quantized_axis_attr = attr_value_pb2.AttrValue(i=3) quantized_dim_size_attr = attr_value_pb2.AttrValue( list=attr_value_pb2.AttrValue.ListValue( shape=[ tensor_shape_pb2.TensorShapeProto(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder.go
return } im := getOrCreateIstioMetadata(cluster) // Add services field into istio metadata im.Fields["services"] = &structpb.Value{ Kind: &structpb.Value_ListValue{ ListValue: &structpb.ListValue{ Values: []*structpb.Value{}, }, }, } svcMetaList := im.Fields["services"].GetListValue()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
TF_RETURN_IF_ERROR(FlattenSignature(value, flattened_specs)); } return Status(); } case StructuredValue::kListValue: { const ListValue& list = signature.list_value(); for (const StructuredValue& value : list.values()) { TF_RETURN_IF_ERROR(FlattenSignature(value, flattened_specs)); } return Status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
Metadata: &core.Metadata{ FilterMetadata: map[string]*structpb.Struct{ util.IstioMetadataKey: { Fields: map[string]*structpb.Value{ "services": {Kind: &structpb.Value_ListValue{ListValue: &structpb.ListValue{Values: []*structpb.Value{ {Kind: &structpb.Value_StructValue{StructValue: &structpb.Struct{Fields: map[string]*structpb.Value{ "host": { Kind: &structpb.Value_StringValue{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
<< attr_value.value_case(); } return "<Unknown AttrValue type>"; // Prevent missing return warning } bool IsEmptyList(const AttrValue::ListValue& list) { return list.s_size() == 0 && list.i_size() == 0 && list.f_size() == 0 && list.b_size() == 0 && list.type_size() == 0 && list.shape_size() == 0 && list.tensor_size() == 0; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0)