- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for Neg (0.25 sec)
-
tensorflow/c/c_api_test.cc
TF_Operation* neg = Neg(add, graph, s, "neg"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); NodeDef node_def_neg; ASSERT_TRUE(GetNodeDef(neg, &node_def_neg)); EXPECT_EQ(string("add"), node_def_neg.input(0)); // update edge of neg TF_UpdateEdge(graph, TF_Output{one, 0}, TF_Input{neg, 0}, s); ASSERT_TRUE(GetNodeDef(neg, &node_def_neg));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/gradients_test.cc
Tape tape(/*persistent=*/false); tape.Watch(inputs[0]); AbstractTensorHandle* neg_output; TF_RETURN_IF_ERROR(ops::Neg(ctx, inputs[0], &neg_output, "Neg")); tape.RecordOperation(inputs, {neg_output}, nullptr, "Neg"); return tape.ComputeGradient(ctx, /*targets=*/{neg_output}, /*sources=*/inputs,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathBenchmarking.java
while (true) { if (RANDOM_SOURCE.nextBoolean()) { return randomNonNegativeBigInteger(numBits); } BigInteger neg = randomNonNegativeBigInteger(numBits).negate(); if (neg.signum() != 0) { return neg; } } } /** * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
while (true) { if (RANDOM_SOURCE.nextBoolean()) { return randomNonNegativeBigInteger(numBits); } BigInteger neg = randomNonNegativeBigInteger(numBits).negate(); if (neg.signum() != 0) { return neg; } } } /** * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.1K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
} return z } func (z *Int) Int64() int64 { if !z.init { return 0 } return int64(C.mpz_get_si(&z.i[0])) } // Neg sets z = -x and returns z. func (z *Int) Neg(x *Int) *Int { x.doinit() z.doinit() C.mpz_neg(&z.i[0], &x.i[0]) return z } // Abs sets z to the absolute value of x and returns z. func (z *Int) Abs(x *Int) *Int { x.doinit() z.doinit()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
absl::Span<AbstractTensorHandle*> grad_inputs) override { /* Given upstream grad U and a Neg op Y = -X, the gradients are: * * dX = -U * */ std::string name = "Neg_Grad"; TF_RETURN_IF_ERROR( ops::Neg(ctx, grad_outputs[0], &grad_inputs[0], name.c_str())); return absl::OkStatus(); } ~NegGradientFunction() override {} };
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
TF_Operation* neg = Neg(feed, func_graph_, s_); Define(-1, {}, {feed}, {neg}, {}); // Use, run, and verify TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({func_feed}); Run({{func_feed, Int32Tensor(3)}}, func_op, -3); VerifyFDef({"neg_0"}, {{"feed", DT_INT32}}, {{"neg", DT_INT32}}, {{"feed", "neg_0:0"}, {"neg_0:y:0", "neg"}}, {}); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/experimental/gradients/math_grad_test.cc
} Status NegModel(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) { return ops::Neg(ctx, inputs[0], &outputs[0], "Neg"); } Status SubModel(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) {
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Apr 13 17:32:14 GMT 2023 - 16.3K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/cs/stopwords.txt
což tím takže svých její svými jste aj tu tedy teto bylo kde ke pravé ji nad nejsou či pod téma mezi přes ty pak vám ani když však neg jsem tento článku články aby jsme před pta jejich byl ještě až bez také pouze první vaše která nás nový tipy pokud může strana jeho své
Plain Text - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Jul 19 06:31:02 GMT 2018 - 992 bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
TF_Operation** op) { TF_OperationDescription* desc = TF_NewOperation(graph, "Neg", name); TF_Output neg_input = {n, 0}; TF_AddInput(desc, neg_input); *op = TF_FinishOperation(desc, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); ASSERT_NE(*op, nullptr); } TF_Operation* Neg(TF_Operation* n, TF_Graph* graph, TF_Status* s, const char* name) { TF_Operation* op;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2)