- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 100 for num_elements (0.18 sec)
-
tensorflow/c/eager/tape.h
template <typename Gradient, typename BackwardFunction, typename TapeTensor> class VSpace { public: virtual ~VSpace() {} // Returns the number of elements in the gradient tensor. virtual int64_t NumElements(Gradient* tensor) const = 0; // Consumes references to the tensors in the gradient_tensors list and returns // a tensor with the result. virtual Gradient* AggregateGradients(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 12:40:29 UTC 2024 - 47.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go
codecs = runtimeserializer.NewCodecFactory(scheme) } func fuzzAPIGroups(atLeastNumGroups, maxNumGroups int, seed int64) apidiscoveryv2.APIGroupDiscoveryList { fuzzer := fuzz.NewWithSeed(seed) fuzzer.NumElements(atLeastNumGroups, maxNumGroups) fuzzer.NilChance(0) fuzzer.Funcs(func(o *apidiscoveryv2.APIGroupDiscovery, c fuzz.Continue) { c.FuzzNoCustom(o) // The ResourceManager will just not serve the group if its versions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 28.6K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/keras_imagenet_main.pbtxt
} dim { size: 1 } } float_val: 0.6666667 } } } } node { name: "loss_1/activation_49_loss/num_elements/Cast" op: "Const" input: "^loss_1/activation_49_loss/SparseSoftmaxCrossEntropyWithLogits/SparseSoftmaxCrossEntropyWithLogits" device: "/job:localhost/replica:0/task:0/device:GPU:0" attr {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 30 02:52:54 UTC 2019 - 1.3M bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
std::vector<Tensor> grad_result; TF_EXPECT_OK( session.Run({{x, {-3.0f, 0.0f, 3.0f}}}, grad_outputs, &grad_result)); EXPECT_EQ(grad_result.size(), 1); EXPECT_EQ(grad_result[0].NumElements(), 3); EXPECT_EQ(grad_result[0].flat<float>()(0), 0.0f); EXPECT_EQ(grad_result[0].flat<float>()(1), 0.0f); EXPECT_EQ(grad_result[0].flat<float>()(2), 0.0f); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
if err == nil || !errors.IsAlreadyExists(err) { t.Error("Expected already exists error") } } func TestNewCreateOptionsFromUpdateOptions(t *testing.T) { f := fuzz.New().NilChance(0.0).NumElements(1, 1) // The goal here is to trigger when any changes are made to either // CreateOptions or UpdateOptions types, so we can update the converter. for i := 0; i < 20; i++ { in := &metav1.UpdateOptions{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/types_windows.go
} type CertTrustListInfo struct { // Not implemented } type CertSimpleChain struct { Size uint32 TrustStatus CertTrustStatus NumElements uint32 Elements **CertChainElement TrustListInfo *CertTrustListInfo HasRevocationFreshnessTime uint32 RevocationFreshnessTime uint32 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 104.1K bytes - Viewed (0) -
tensorflow/c/c_api.cc
status->status = result; return; } // Store results in c_outputs[] for (int i = 0; i < noutputs; ++i) { const Tensor& src = outputs[i]; if (!src.IsInitialized() || src.NumElements() == 0) { c_outputs[i] = EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape()); continue; } c_outputs[i] = TF_TensorFromTensor(src, &status->status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
seed := int64(5577006791947779410) f := fuzzer.FuzzerFor(fuzzerFuncs, rand.NewSource(seed), codecs) // fuzz internal types schema := &apiextensions.JSONSchemaProps{} f.NilChance(0).NumElements(10, 10).MaxDepth(10).Fuzz(schema) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { if SchemaHas(schema, func(_ *apiextensions.JSONSchemaProps) bool { return false }) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"CertRevocationInfo.Size", Field, 0}, {"CertSimpleChain", Type, 0}, {"CertSimpleChain.Elements", Field, 0}, {"CertSimpleChain.HasRevocationFreshnessTime", Field, 0}, {"CertSimpleChain.NumElements", Field, 0}, {"CertSimpleChain.RevocationFreshnessTime", Field, 0}, {"CertSimpleChain.Size", Field, 0}, {"CertSimpleChain.TrustListInfo", Field, 0}, {"CertSimpleChain.TrustStatus", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg syscall (windows-386), type CertSimpleChain struct, Elements **CertChainElement pkg syscall (windows-386), type CertSimpleChain struct, HasRevocationFreshnessTime uint32 pkg syscall (windows-386), type CertSimpleChain struct, NumElements uint32 pkg syscall (windows-386), type CertSimpleChain struct, RevocationFreshnessTime uint32 pkg syscall (windows-386), type CertSimpleChain struct, Size uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)