Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for memcpy (0.17 sec)

  1. tensorflow/c/c_api_experimental.cc

      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    char* TF_FunctionDebugString(TF_Function* func, size_t* len) {
      const auto& debug_str = DebugString(func->record->fdef());
      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    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)
  2. tensorflow/c/c_api.cc

      status->status = s->session->PRunSetup(input_names, output_names,
                                             target_oper_names, &new_handle);
      if (status->status.ok()) {
        char* buf = new char[new_handle.size() + 1];
        memcpy(buf, new_handle.c_str(), new_handle.size() + 1);
        *handle = buf;
      }
    }
    
    void TF_PRun(TF_DeprecatedSession* s, const char* handle,
                 // Input tensors
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      }
    
      TF_Tensor* FloatTensor2x2(const float* values) {
        const int64_t dims[2] = {2, 2};
        TF_Tensor* t = TF_AllocateTensor(TF_FLOAT, dims, 2, sizeof(float) * 4);
        memcpy(TF_TensorData(t), values, sizeof(float) * 4);
        return t;
      }
    
      TF_Operation* FloatConst2x2(TF_Graph* graph, TF_Status* s,
                                  const float* values, const char* name) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. cmd/metrics-v3-system-memory.go

    var (
    	memTotalMD     = NewGaugeMD(memTotal, "Total memory on the node")
    	memUsedMD      = NewGaugeMD(memUsed, "Used memory on the node")
    	memUsedPercMD  = NewGaugeMD(memUsedPerc, "Used memory percentage on the node")
    	memFreeMD      = NewGaugeMD(memFree, "Free memory on the node")
    	memBuffersMD   = NewGaugeMD(memBuffers, "Buffers memory on the node")
    	memCacheMD     = NewGaugeMD(memCache, "Cache memory on the node")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. docs/metrics/v3.md

    | `minio_system_memory_total`      | `gauge` | Total memory on the node           | `server` |
    | `minio_system_memory_buffers`    | `gauge` | Buffers memory on the node         | `server` |
    | `minio_system_memory_cache`      | `gauge` | Cache memory on the node           | `server` |
    | `minio_system_memory_shared`     | `gauge` | Shared memory on the node          | `server` |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 26K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-process.go

    	processSyscallReadTotal         = "syscall_read_total"
    	processSyscallWriteTotal        = "syscall_write_total"
    	processResidentMemoryBytes      = "resident_memory_bytes"
    	processVirtualMemoryBytes       = "virtual_memory_bytes"
    	processVirtualMemoryMaxBytes    = "virtual_memory_max_bytes"
    )
    
    var (
    	processLocksReadTotalMD           = NewGaugeMD(processLocksReadTotal, "Number of current READ locks on this peer")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/list.md

    | `minio_node_mem_buffers_avg`   | Buffers memory on the node (avg).         |
    | `minio_node_mem_buffers_max`   | Buffers memory on the node (max).         |
    | `minio_node_mem_cache`         | Cache memory on the node.                 |
    | `minio_node_mem_cache_avg`     | Cache memory on the node (avg).           |
    | `minio_node_mem_cache_max`     | Cache memory on the node (max).           |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  8. docs/en/docs/deployment/concepts.md

    ### Memory per Process
    
    Now, when the program loads things in memory, for example, a machine learning model in a variable, or the contents of a large file in a variable, all that **consumes a bit of the memory (RAM)** of the server.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    		total:             "Total memory on the node",
    		memUsed:           "Used memory on the node",
    		memUsedPerc:       "Used memory percentage on the node",
    		memFree:           "Free memory on the node",
    		memShared:         "Shared memory on the node",
    		memBuffers:        "Buffers memory on the node",
    		memCache:          "Cache memory on the node",
    		memAvailable:      "Available memory on the node",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  10. cmd/server-rlimit.go

    			maxLimit)
    	}
    
    	if err = sys.SetMaxOpenFileLimit(maxLimit, maxLimit); err != nil {
    		return err
    	}
    
    	// Set max memory limit as current memory limit.
    	if _, maxLimit, err = sys.GetMaxMemoryLimit(); err != nil {
    		return err
    	}
    
    	// set debug memory limit instead of GOMEMLIMIT env
    	_ = setDebugMemoryLimit(ctx)
    
    	err = sys.SetMaxMemoryLimit(maxLimit, maxLimit)
    	return err
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top