Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for adjust (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // 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,
                                           const char* op_or_function_name,
                                           const char* raw_device_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

                },
                nullptr),
            TF_DeleteTensor);
        // TODO(allenl): Here and when executing regular operations, we could hold
        // on to one TFE_Op per device and just call TFE_ResetOp to avoid parsing
        // device names repeatedly.
        std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> const_op(
            TFE_NewOp(context, "Const", status), TFE_DeleteOp);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // * We could allow NULL for some arguments (e.g., NULL options arg).
    //   However since convenience is not a primary goal, we don't do this.
    // * Devices are not in this API.  Instead, they are created/used internally
    //   and the API just provides high level controls over the number of
    //   devices of each type.
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // --------------------------------------------------------------------------
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. src/cmd/cgo/internal/test/issue26213/jni.h

    // 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;
    typedef jobject jthrowable;
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 874 bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_TAPE_H_
    #define TENSORFLOW_C_EAGER_TAPE_H_
    
    // Language-agnostic gradient tape. Does not perform backpropagation, just
    // maintains the data structures required to do so.
    
    #include <stack>
    #include <unordered_map>
    #include <unordered_set>
    #include <vector>
    
    #include "tensorflow/core/config/flag_defs.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_experimental.h

    // Specify the server_def that enables collective ops.
    // This is different to the above function in that it doesn't create remote
    // contexts, and remotely executing ops is not possible. It just enables
    // communication for collective ops.
    TF_CAPI_EXPORT extern void TFE_EnableCollectiveOps(TFE_Context* ctx,
                                                       const void* proto,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem.h

    // need for `Env::Default()`. At that time, we might decide to remove the need
    // 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
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// data in the structures here to prevent cases when padding/packing enabled by
    /// different compiler options breaks compatibility. For more details about how
    /// this is used, please consult next sections. Here we just wrap these tables
    /// in lint warnings so that changes here cause changes to the versioning data
    /// as well. Here is a short summary of what changes are allowed:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top