Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for memcpy (0.32 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>(
          plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE));
      ops->read_only_memory_region_ops->cleanup =
          tf_read_only_memory_region::Cleanup;
      ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data;
      ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. manifests/charts/gateways/istio-egress/files/profile-demo.yaml

    global:
      proxy:
        resources:
          requests:
            cpu: 10m
            memory: 40Mi
    
    pilot:
      autoscaleEnabled: false
      traceSampling: 100
      resources:
        requests:
          cpu: 10m
          memory: 100Mi
    
    gateways:
      istio-egressgateway:
        autoscaleEnabled: false
        resources:
          requests:
            cpu: 10m
            memory: 40Mi
      istio-ingressgateway:
        autoscaleEnabled: false
        ports:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/files/profile-demo.yaml

    global:
      proxy:
        resources:
          requests:
            cpu: 10m
            memory: 40Mi
    
    pilot:
      autoscaleEnabled: false
      traceSampling: 100
      resources:
        requests:
          cpu: 10m
          memory: 100Mi
    
    gateways:
      istio-egressgateway:
        autoscaleEnabled: false
        resources:
          requests:
            cpu: 10m
            memory: 40Mi
      istio-ingressgateway:
        autoscaleEnabled: false
        ports:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. manifests/charts/gateways/istio-ingress/files/profile-demo.yaml

    global:
      proxy:
        resources:
          requests:
            cpu: 10m
            memory: 40Mi
    
    pilot:
      autoscaleEnabled: false
      traceSampling: 100
      resources:
        requests:
          cpu: 10m
          memory: 100Mi
    
    gateways:
      istio-egressgateway:
        autoscaleEnabled: false
        resources:
          requests:
            cpu: 10m
            memory: 40Mi
      istio-ingressgateway:
        autoscaleEnabled: false
        ports:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
Back to top