Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (num == null) {
                num = fessConfig.getPagingSearchPageSizeAsInteger();
            }
            if (num > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num <= 0) {
                num = fessConfig.getPagingSearchPageMaxSizeAsInteger();
            }
            return num;
        }
    
        @Override
        public String[] getLanguages() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

    TF_ShapeAndTypeList* TF_NewShapeAndTypeList(int num_items) {
      TF_ShapeAndTypeList* result = new TF_ShapeAndTypeList;
      result->num_items = num_items;
      result->items = (num_items == 0) ? nullptr : new TF_ShapeAndType[num_items]();
      return result;
    }
    
    void TF_ShapeAndTypeListSetShape(TF_ShapeAndTypeList* shape_list, int index,
                                     const int64_t* dims, int num_dims) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_graph.cc

                               ArraySlice<const bool>(b.get(), num_values));
    
        return absl::OkStatus();
      }
      Status SetAttrShapeList(const char* attr_name, const int64_t** dims,
                              const int* num_dims, int num_values) override {
        std::vector<PartialTensorShape> shapes;
        shapes.reserve(num_values);
        for (int i = 0; i < num_values; ++i) {
          if (num_dims[i] < 0) {
            shapes.emplace_back();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  10. tensorflow/c/eager/c_api_unified_experimental.cc

    void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); }
    void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs,
                                    TF_Status* s) {
      unwrap(o)->expected_num_outputs = num_outputs;
      unwrap(o)->outputs.clear();
      unwrap(o)->outputs.resize(num_outputs);
    }
    int TF_OutputListNumOutputs(TF_OutputList* o) {
      return unwrap(o)->outputs.size();
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top