Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for operating (0.19 sec)

  1. tensorflow/c/c_api.cc

    namespace {
    
    TF_Operation* ToOperation(Node* node) {
      return static_cast<TF_Operation*>(static_cast<void*>(node));
    }
    
    string OutputName(const TF_Output& output) {
      return StrCat(output.oper->node.name(), ":", output.index);
    }
    
    const tensorflow::AttrValue* GetAttrValue(TF_Operation* oper,
                                              const char* attr_name,
    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)
  2. 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)
  3. tensorflow/c/eager/c_api_remote_test.cc

    #include "tensorflow/c/eager/c_api_remote_test_util.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/common_runtime/function_optimization_registry.h"
    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    #include "tensorflow/core/framework/function.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 12 00:14:22 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

                                            std::move(mixed_handles), status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK);
      // Can't take the shape of a parallel tensor with varying numbers of axes, but
      // running operations on them is OK.
      TF_ASSERT_OK(unknown_length_vector->Shape(&shape));
      EXPECT_THAT(*shape, ElementsAre(-1));
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> size_op(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_cluster_test.cc

    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/protobuf.h"
    #include "tensorflow/core/platform/test.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/eager/parallel_device/parallel_device_test.cc

                       final_op.length());
      TF_SetAttrIntList(reduce_desc, "subdiv_offsets", nullptr, 0);
      TF_AddInput(reduce_desc, x);
      TF_Operation* reduce_op = TF_FinishOperation(reduce_desc, status);
      if (TF_GetCode(status) != TF_OK) return;
      TF_Operation* operations[]{placeholder_op, reduce_op};
      TF_Output y{reduce_op, 0};
      const char* output_name = "y";
      std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)> function(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  8. tensorflow/c/eager/parallel_device/parallel_device.cc

        result.emplace(std::move(result_content));
        return result;
      } else if (operation_name == std::string("TPUReplicatedOutput")) {
        // Special-cased operation for un-packing one parallel tensor into
        // per-device tensors.
        OpPtr op(TFE_NewOp(context, operation_name, status));
        TFE_OpAddAttrs(op.get(), attributes);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/custom_device_testutil.cc

      }
      TFE_Context* context = TFE_OpGetContext(original_op, s);
      if (TF_GetCode(s) != TF_OK) return;
      const char* operation_name = TFE_OpGetName(original_op, s);
      if (TF_GetCode(s) != TF_OK) return;
      const TFE_OpAttrs* attributes = TFE_OpGetAttrs(original_op);
    
      TFE_Op* op(TFE_NewOp(context, operation_name, s));
      if (TF_GetCode(s) != TF_OK) return;
      TFE_OpAddAttrs(op, attributes);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_function.cc

        const TF_Graph* fn_body, const char* fn_name,
        unsigned char append_hash_to_fn_name, int num_opers,
        const TF_Operation* const* opers, int ninputs, const TF_Output* inputs,
        int noutputs, const TF_Output* outputs, const char* const* output_names,
        int ncontrol_outputs, const TF_Operation* const* control_outputs,
        const char* const* control_output_names, const TF_FunctionOptions* opts,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
Back to top