Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for silent (0.2 sec)

  1. tensorflow/c/eager/c_api.h

      TFE_DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default placement
      // policy.
      TFE_DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
      TFE_DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    } TFE_ContextDevicePlacementPolicy;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_test.cc

    }
    TEST(CAPI, TensorHandleSilentCopy) {
      TensorHandleSilentCopy(false, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyAsync) {
      TensorHandleSilentCopy(true, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyLocalPolicy) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(/*enable=*/true));
      TFE_ContextOptionsSetDevicePlacementPolicy(opts, TFE_DEVICE_PLACEMENT_SILENT);
      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
      TFE_ContextOptionsSetDevicePlacementPolicy(opts, TFE_DEVICE_PLACEMENT_SILENT);
      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
    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)
  5. tensorflow/c/eager/c_api_internal.h

    struct TFE_ContextOptions {
      TF_SessionOptions session_options;
      // true if async execution is enabled.
      bool async = false;
      TFE_ContextDevicePlacementPolicy device_placement_policy{
          TFE_DEVICE_PLACEMENT_SILENT};
      // If true, use TFRT backend
      bool use_tfrt = false;
      // Whether to run elementary eager ops wrapped in a call op.
      bool run_eager_op_as_function = false;
      // Whether to rewrite jit_compile functions.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      server_def.set_task_index(0);
      auto cluster = server_def.mutable_cluster();
      auto client_job = cluster->add_job();
      client_job->set_name("localhost");
      int client_port = tensorflow::testing::PickUnusedPortOrDie();
      client_job->mutable_tasks()->insert(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  7. tensorflow/c/eager/immediate_execution_context.h

      DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default policy.
      DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
      DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    };
    // LINT.ThenChange(//tensorflow/c/eager/c_api.h)
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.h

    #include "xla/pjrt/c/pjrt_c_api.h"
    #include "xla/pjrt/pjrt_c_api_client.h"
    #include "tensorflow/core/framework/tensor.h"
    
    namespace tensorflow {
    
    StatusOr<PJRT_Buffer*> GetPjRtCBufferFromTensor(const Tensor* tensor);
    
    absl::Status SetPjRtCBufferToTensor(PJRT_Buffer* c_buffer,
                                        xla::PjRtCApiClient* c_api_client,
                                        Tensor* tensor);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 09 19:12:59 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    }
    
    }  // namespace
    }  // namespace tensorflow
    
    // Due to the usages of flags for this manual test, we need a special `main` to
    // ensure our flags are parsed properly as `testing::InitGoogleTest` silently
    // ignores other flags. Furthermore, we need this to ensure that the DSO is
    // loaded exactly once, if provided.
    GTEST_API_ int main(int argc, char** argv) {
      const std::vector<tensorflow::Flag> flag_list = {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_remote_test_util.cc

      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
      TFE_ContextOptionsSetDevicePlacementPolicy(opts, TFE_DEVICE_PLACEMENT_SILENT);
      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
Back to top