- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 190 for Scalar (0.13 sec)
-
pkg/scheduler/framework/types.go
} return res } // AddScalar adds a resource by a scalar value of this resource. func (r *Resource) AddScalar(name v1.ResourceName, quantity int64) { r.SetScalar(name, r.ScalarResources[name]+quantity) } // SetScalar sets a resource by a scalar value of this resource. func (r *Resource) SetScalar(name v1.ResourceName, quantity int64) { // Lazily allocate scalar resource map. if r.ScalarResources == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
tests/integration/telemetry/api/dashboard_test.go
} numSamples := 0 switch v := value.(type) { case model.Vector: numSamples = v.Len() case model.Matrix: numSamples = v.Len() case *model.Scalar: numSamples = 1 default: return fmt.Errorf("unknown metric value type: %T", v) } if includeQuery(query, excluded) { if numSamples == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
} return RankedTensorType::get(dims, a.getElementType()); } } // namespace detail // Verifies that op has the same operand and result element types (or type // itself, if scalar) after resolving reference types (i.e., after converting // reference types to their corresponding TensorFlow or standard types). template <typename ConcreteType> class SameOperandsAndResultElementTypeResolveRef
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
docs/en/data/github_sponsors.yml
url: https://github.com/Kong - login: codacy avatarUrl: https://avatars.githubusercontent.com/u/1834093?v=4 url: https://github.com/codacy - login: scalar avatarUrl: https://avatars.githubusercontent.com/u/301879?v=4 url: https://github.com/scalar - - login: ObliviousAI avatarUrl: https://avatars.githubusercontent.com/u/65656077?v=4 url: https://github.com/ObliviousAI - - login: databento
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jun 03 01:09:53 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
<< "group_size must be a compile time constant"; } if (!group_size_attr.isSplat() || group_size_attr.size() != 1) { return all_reduce.emitOpError() << "group_size must be a scalar"; } const auto group_size = group_size_attr.getSplatValue<IntegerAttr>(); // Create a full group assignment. Empty group assignment errors when // final_op = "Div"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
src/html/template/js_test.go
{"+ADw-script+AD4-alert(1)+ADw-/script+AD4-", `\u002bADw-script\u002bAD4-alert(1)\u002bADw-\/script\u002bAD4-`, }, // Invalid UTF-8 sequence {"foo\xA0bar", "foo\xA0bar"}, // Invalid unicode scalar value. {"foo\xed\xa0\x80bar", "foo\xed\xa0\x80bar"}, } for _, test := range tests { esc := jsStrEscaper(test.x) if esc != test.esc { t.Errorf("%q: want %q got %q", test.x, test.esc, esc) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 02:20:11 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
params_->body_outputs[1] = inner_outputs[1]; // Finalize outer graph ExpectOK(); // Check for a few expected nodes const char* node_name = "test_loop/cond/scalar"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr); node_name = "test_loop/body/add"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
return t.IsInterface() && len(t.AllMethods()) == 0 } // IsScalar reports whether 't' is a scalar Go type, e.g. // bool/int/float/complex. Note that struct and array types consisting // of a single scalar element are not considered scalar, likewise // pointer types are also not considered scalar. func (t *Type) IsScalar() bool { switch t.kind { case TBOOL, TINT8, TUINT8, TINT16, TUINT16, TINT32,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
include "tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.td" def NonScalarRankedType : Type<And<[Neg<HasAnyRankOfPred<[0]>>, HasRankPred]>, "Non scalar type">; def HasSingleElement: Constraint<CPred<"($0.size() == 1)">>; def EmptyList: NativeCodeCall<"llvm::SmallVector<mlir::Value>{}">; // Creates a tf.ReadVariable op that reads a resource `$2` that has the same
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 20.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
let description = [{ This op loads a restored variable tensor as a tensor future. It is a replacement of `tf.ReadVariableOp`. This op returns a scalar string tensor containing the restored variable name, which can be used as a key within the runtime, as well as a future for the tensor. The `tf.IfrtCall` kernel uses the output $array_key.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0)