Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for Neg (0.22 seconds)

  1. src/archive/tar/testdata/neg-size.tar.base64

    Ian Lance Taylor <******@****.***> 1765577893 -0800
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 693 bytes
    - Click Count (0)
  2. tensorflow/c/eager/gradients_test.cc

        absl::Span<AbstractTensorHandle*> outputs) {
      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,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7K bytes
    - Click Count (0)
  3. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. tensorflow/c/c_test_util.h

                                const string& op_device, TF_Status* s,
                                const char* name = "min");
    
    TF_Operation* Neg(TF_Operation* n, TF_Graph* graph, TF_Status* s,
                      const char* name = "neg");
    
    TF_Operation* LessThan(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s);
    
    TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Click Count (0)
  5. tensorflow/c/c_api_test.cc

      // Add another oper to the graph.
      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(std::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));
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_function_test.cc

      TF_Operation* feed = Placeholder(func_graph_, s_, "negation");
      TF_Operation* neg = Neg(feed, func_graph_, s_, "neg");
      Define(-1, {}, {feed}, {neg}, {"negation"});
    
      // 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"}, {{"negation_0", DT_INT32}}, {{"negation", DT_INT32}},
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  7. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. tensorflow/c/c_api_experimental_test.cc

                                                               TF_DeleteStatus);
    
      TF_Operation* feed = Placeholder(func_graph.get(), s.get());
      TF_Operation* neg = Neg(feed, func_graph.get(), s.get());
    
      TF_Output inputs[] = {{feed, 0}};
      TF_Output outputs[] = {{neg, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1,
                                 /*opers=*/nullptr, 1, inputs, 1, outputs,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/arch/ppc64.go

    		return true
    	}
    	return false
    }
    
    // IsPPC64NEG reports whether the op (as defined by an ppc64.A* constant) is
    // one of the NEG-like instructions that require special handling.
    func IsPPC64NEG(op obj.As) bool {
    	switch op {
    	case ppc64.AADDMECC, ppc64.AADDMEVCC, ppc64.AADDMEV, ppc64.AADDME,
    		ppc64.AADDZECC, ppc64.AADDZEVCC, ppc64.AADDZEV, ppc64.AADDZE,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 21 18:27:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        }
    
        @Test
        void testNegativeSidWrapsCorrectly() {
            // -1 == 0xFFFF
            int negativeSid = -1;
            SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid);
            byte[] dst = new byte[2];
            int written = neg.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, written);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top