Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for Num (0.15 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 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. 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 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.cc

      memcpy(TF_TensorData(t), values, sizeof(char) * num_values);
      return t;
    }
    
    TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
                           const int32_t* values) {
      int64_t num_values = 1;
      for (int i = 0; i < num_dims; ++i) {
        num_values *= dims[i];
      }
      TF_Tensor* t =
          TF_AllocateTensor(TF_INT32, dims, num_dims, sizeof(int32_t) * num_values);
    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)
  5. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/experimental/grappler/grappler.cc

    void TF_GetNodesToPreserveListSize(const TF_GrapplerItem* item, int* num_values,
                                       size_t* storage_size, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      const std::unordered_set<std::string>& nodes =
          reinterpret_cast<const tensorflow::grappler::GrapplerItem*>(item)
              ->NodesToPreserve();
      *num_values = nodes.size();
      *storage_size = 0;
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  8. 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)
  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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            checkGetMethod(searchBody, getListEndpointSuffix()).then().body(getJsonPath() + ".size()", equalTo(NUM));
        }
    
        protected void testRead() {
            // Test: get settings api.
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            List<String> nameList = getPropList(searchBody, getKeyProperty());
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top