Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for operations (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // Registers a custom device for use with eager execution.
    //
    // Eager operations may be placed on this device, e.g.  `with
    // tf.device("CUSTOM"):` from Python if `device_name` for this call is
    // "/job:localhost/replica:0/task:0/device:CUSTOM:0".
    //
    // The custom device defines copy operations for moving TensorHandles on and
    // off, and an execution operation for named operations. Often execution will
    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/tape.h

    };
    
    // Map from tensor_id to internally-defined operation-id of the operation which
    // produced this tensor. A value of -1 means that the tensor was directly
    // watched and not the result of any operation in the tape.
    using TensorTape = std::unordered_map<int64_t, int64_t>;
    
    // Map from operation-id to tape entry.
    template <typename BackwardFunction, typename TapeTensor>
    using OpTape =
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      ~DeviceThread();
    
      // Requests that the worker thread execute the specified operation. Blocks
      // until the previously pending operation (a StartExecute without a Join) has
      // finished, if any.
      //
      // `cancellation_manager` must live until after `Join` finishes and pending
      // `is_async` operations finish. In addition to allowing the caller to cancel
      // the operation, its `StartCancel` method will be called if op execution
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. CONTRIBUTING.md

    *   [Java license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/src/main/java/org/tensorflow/Graph.java#L1)
    *   [Go license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/operation.go#L1)
    *   [Bash license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/ci_build.sh#L2)
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        TracingOperationPtr operation(CreateOperation());
        TF_RETURN_IF_ERROR(operation->Reset("Placeholder", nullptr));
        TF_RETURN_IF_ERROR(
            operation->SetOpName(absl::StrCat("_input_", inputs_.size()).c_str()));
        TF_RETURN_IF_ERROR(operation->SetAttrType("dtype", dtype));
        if (!shape.unknown_rank()) {
          TF_RETURN_IF_ERROR(operation->SetAttrShape(
    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)
  6. tensorflow/c/eager/BUILD

            "@com_google_absl//absl/types:span",
        ],
    )
    
    cc_library(
        name = "immediate_execution_operation",
        hdrs = ["immediate_execution_operation.h"],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
            ":abstract_operation",
            ":abstract_tensor_handle",
            ":immediate_execution_tensor_handle",
            "//tensorflow/c:tensor_interface",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  7. tensorflow/c/BUILD

            "//tensorflow/core/common_runtime/eager:attr_builder",
            "//tensorflow/core/common_runtime/eager:context",
            "//tensorflow/core/common_runtime/eager:core",
            "//tensorflow/core/common_runtime/eager:eager_operation",
            "//tensorflow/core/common_runtime/pluggable_device:pluggable_device_plugin_init",
            "//tensorflow/core/distributed_runtime/rpc:grpc_server_lib",
            "//tensorflow/core/platform",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

        status->status = tensorflow::errors::InvalidArgument(
            "Got a null or uninitialized `op` argument");
        return;
      }
      tensorflow::EagerOperation* operation =
          OperationFromInterface(tensorflow::unwrap(const_cast<TFE_Op*>(op)));
      operation->MutableAttrs()->Set(attr_name, attr_value);
    }
    
    TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. tensorflow/c/eager/c_api_experimental.cc

    #include "tensorflow/core/common_runtime/composite_device.h"
    #include "tensorflow/core/common_runtime/device.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/distributed_runtime/coordination/coordination_service_error_util.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/graph_debug_info.pb.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  10. tensorflow/c/c_api_experimental.cc

    using tensorflow::errors::InvalidArgument;
    
    namespace {
    typedef std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)>
        UniqueFuncPtr;
    }
    
    // struct TF_Operation { tensorflow::Node node; };
    static TF_Operation* ToTF_Operation(Node* node) {
      return static_cast<TF_Operation*>(static_cast<void*>(node));
    }
    
    void TF_EnableXLACompilation(TF_SessionOptions* options, unsigned char enable) {
    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)
Back to top