Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for it (0.18 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
    // than separately calling it because if the existing op has the same
    // `raw_device_name`, it skips parsing and just leave as it is.
    TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // `run_metadata`) are valid.
    //
    //    - `run_options` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to a `TF_Buffer` containing the
    //      serialized representation of a `RunOptions` protocol buffer.
    //    - `run_metadata` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to an empty, freshly allocated
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_test_util.h

                       const char* device_type);
    
    // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name,
                                       int num_tasks);
    
    // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(int num_tasks);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      // Returns whether `device_name` is registered as a custom device.
      virtual bool IsCustomDevice(const string& device_name) = 0;
    
      // Register a custom device. It will return error is the device name is
      // already registered.
      // TODO(tfrt-devs): Remove this method. Let caller register it directly into
      // CustomDeviceOpHandler.
      virtual Status RegisterCustomDevice(const string& name,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // Create a `tensorflow::PluginResource` to the ResourceMgr provided by the
    // `ctx`. The `tensorflow::PluginResource` wraps a resource by plugin (as a
    // opaque pointer, since TensorFlow cannot parse it). `delete_func` is needed
    // for ResourceMgr to clean up the resource. `status` will be set.
    TF_CAPI_EXPORT extern void TF_CreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.h

    // for `Env::Default()` altogether, but that's a different project, not in
    // scope for now. I'm just mentioning this here as that transition will mean
    // removal of the registration part from `Env` and adding it here instead: we
    // will need tables to hold for each scheme the function tables that implement
    // the needed functionality instead of the current `FileSystemRegistry` code in
    // `core/platform/env.cc`.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_internal.h

      std::atomic<bool> extend_before_run;
    };
    
    struct TF_ImportGraphDefOptions {
      tensorflow::ImportGraphDefOptions opts;
    
      // Backing memory for TensorId fields in opts.
      // TODO(skyewm): it'd be better if ImportGraphDefOptions owned this.
      std::vector<tensorflow::string> tensor_id_data;
    };
    
    struct TF_ImportGraphDefResults {
      std::vector<TF_Output> return_tensors;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

        for (auto it : op_it->second.input_tensor_id) {
          auto count_it = result.tensor_usage_counts.find(it);
          if (count_it != result.tensor_usage_counts.end()) {
            count_it->second++;
          } else {
            result.tensor_usage_counts[it] = 1;
            if (tensor_tape.find(it) != tensor_tape.end()) {
              tensor_stack.push_back(it);
            }
          }
        }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. src/cmd/cgo/internal/test/issue26213/jni.h

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // It's going to be hard to include a whole real JVM to test this.
    // So we'll simulate a really easy JVM using just the parts we need.
    
    // This is the relevant part of jni.h.
    
    // On Android NDK16, jobject is defined like this in C and C++
    typedef void* jobject;
    
    typedef jobject jclass;
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 874 bytes
    - Viewed (0)
Back to top