- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 101 for retval (0.17 sec)
-
operator/pkg/object/objects.go
case int64: ii = intstr.FromInt32(int32(item)) case string: ii = intstr.FromString(item) default: ii = intstr.FromInt32(0) } intVal, err := intstr.GetScaledValueFromIntOrPercent(&ii, 100, false) if err != nil || intVal == 0 { return true } return false } if spec["maxUnavailable"] != nil && spec["minAvailable"] != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 21 07:16:46 UTC 2023 - 15.5K bytes - Viewed (1) -
src/go/internal/gccgoimporter/parser.go
return } p.expectKeyword("i") reval := constant.MakeFromLiteral(re, token.FLOAT, 0) if reval == nil { p.error("could not parse real component of complex literal") } imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) if imval == nil { p.error("could not parse imag component of complex literal") } val = constant.BinaryOp(reval, token.ADD, imval) typ = types.Typ[types.UntypedComplex]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler_test.cc
auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0); auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1); auto c = ops::Add(scope.WithOpName("C"), a, b); auto d = ops::_Retval(scope.WithOpName("D"), c, 0); TF_RETURN_IF_ERROR(scope.ToGraph(graph.get())); return graph; } absl::StatusOr<FunctionDef> SampleFuntionAddXY(const std::string& name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 19.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc
func.func @main(%arg0: tensor<3x3x10xbf16>, %arg1: tensor<3xi32>) -> tensor<1x?x4xbf16> attributes {allow_soft_placement = false, tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2", outputs = "_retval0"}} { %cst = "tf.Const"() {value = dense<[1, -1, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/bootstrap/config.go
for _, e := range envs { if !shouldExtract(e, prefix) { continue } v := e[metaPrefixLen:] if !isEnvVar(v) { continue } metaKey, metaVal := parseEnvVar(v) set(meta, metaKey, metaVal) } } func shouldExtract(envVar, prefix string) bool { return strings.HasPrefix(envVar, prefix) } func isEnvVar(str string) bool { return strings.Contains(str, "=")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 27.6K bytes - Viewed (0) -
pkg/config/analysis/msg/messages.gen.go
// NewReferencedResourceNotFound returns a new diag.Message based on ReferencedResourceNotFound. func NewReferencedResourceNotFound(r *resource.Instance, reftype string, refval string) diag.Message { return diag.NewMessage( ReferencedResourceNotFound, r, reftype, refval, ) } // NewNamespaceNotInjected returns a new diag.Message based on NamespaceNotInjected.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 22 10:13:03 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir
// CHECK-NEXT: %[[SIZE:.*]] = "tf.Reshape"(%[[NUM]], %[[SIZE_SHAPE]]) %tl = "tf.TensorListReserve"(%elem_shape, %num) : (tensor<0xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<f32>>> // CHECK-NEXT: %[[SETVAL:.*]] = "tf._SomeOp"() %elem = "tf._SomeOp"() : () -> tensor<f32> // CHECK-NEXT: %[[SIZE_SHAPE1:.*]] = "tf.Const"() <{value = dense<1> : tensor<1xi32>}>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 38.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
static const char kImportModelDefaultGraphFuncName[] = "main"; // Please refer to the TFG dialect description for the list of used attributes. // Belows are the attributes in TFE. // TFE Arguments and Results (Got from "_Arg", // "_Retval", .etc) // NodeDef.device <-> "tf.device" // NodeDef.attr <-> "tf." // // TFE general operations // NodeDef.device <-> "device" // // The following two functions are only used for mapping/excluding attributes
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
pkg/config/analysis/msg/messages.yaml
code: IST0101 level: Error description: "A resource being referenced does not exist." template: "Referenced %s not found: %q" args: - name: reftype type: string - name: refval type: string - name: "NamespaceNotInjected" code: IST0102 level: Info description: "A namespace is not enabled for Istio injection."
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 22 10:13:03 UTC 2024 - 23.5K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
high = signExtend(high, 20) return low, high, nil } func regVal(r, min, max uint32) uint32 { if r < min || r > max { panic(fmt.Sprintf("register out of range, want %d <= %d <= %d", min, r, max)) } return r - min } // regI returns an integer register. func regI(r uint32) uint32 { return regVal(r, REG_X0, REG_X31) } // regF returns a float register.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0)