Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for Num (0.11 sec)

  1. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients.cc

      return op_->SetAttrTypeList(attr_name, values, num_values);
    }
    Status SetAttrBoolList(AbstractOperation* op_, const char* attr_name,
                           const unsigned char* values, int num_values,
                           ForwardOperation* forward_op_) {
      std::unique_ptr<bool[]> b(new bool[num_values]);
      for (int i = 0; i < num_values; ++i) {
        b[i] = values[i];
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    }
    Status TapeOperation::SetAttrShapeList(const char* attr_name,
                                           const int64_t** dims,
                                           const int* num_dims, int num_values) {
      std::unique_ptr<TensorShapeProto[]> proto(new TensorShapeProto[num_values]);
      for (int i = 0; i < num_values; ++i) {
        const auto num_dims_i = num_dims[i];
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/graph/GraphMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
      private static final int NUM_EDGES = 1000;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 18 16:17:46 GMT 2017
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/custom_device_test.cc

      TFE_TensorHandle* retval;
      int num_retvals = 1;
      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TFE_DeleteTensorHandle(retval);
    
      // Custom device: inputs in same custom device works.
      matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcustom0.get()));
      num_retvals = 1;
      executed = false;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/Base64Util.java

            final byte[] outData = new byte[num * 3 + lastBytes];
            for (int i = 0; i < num; i++) {
                decode(inData, i * 4, outData, i * 3);
            }
            switch (lastBytes) {
            case 1:
                decode1byte(inData, num * 4, outData, num * 3);
                break;
            case 2:
                decode2byte(inData, num * 4, outData, num * 3);
                break;
            default:
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

    }
    
    TEST(ExpiringLRUCacheTest, LookupOrCompute) {
      // max_age of 0 means we should always compute.
      uint64 num_compute_calls = 0;
      tf_gcs_filesystem::ExpiringLRUCache<int>::ComputeFunc compute_func =
          [&num_compute_calls](const string& key, int* value, TF_Status* status) {
            *value = num_compute_calls;
            num_compute_calls++;
            return TF_SetStatus(status, TF_OK, "");
          };
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  8. internal/grid/grid_types_msgp_test.go

    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Num":
    			z.Num, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Num")
    				return
    			}
    		case "String":
    			z.String, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "String")
    				return
    			}
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/grad_test_helper.cc

      int64_t num_elem_analytical = 1;
      auto num_dims_analytical = TF_NumDims(analytical_tensor);
      ASSERT_EQ(dims.size(), num_dims_analytical);
      for (int j = 0; j < num_dims_analytical; j++) {
        auto dim_analytical = TF_Dim(analytical_tensor, j);
        ASSERT_EQ(dims[j], dim_analytical);
        num_elem_analytical *= dim_analytical;
      }
    
      float* danalytical = new float[num_elem_analytical]{0};
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top