- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Implementation (0.24 sec)
-
tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc
#include "tensorflow/c/tf_status.h" // Implementation of a filesystem for POSIX environments. // This filesystem will support `file://` and empty (local) URI schemes. static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } static void plugin_memory_free(void* ptr) { free(ptr); } // SECTION 1. Implementation for `TF_RandomAccessFile`
C++ - Registered: Tue Apr 09 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:21:15 GMT 2022 - 2.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
// Public C API entry points // // These are only the generic entry points for the C API. This file does not // have any visibility into the graph/eager implementation and is only providing // C bindings to the abstract classes defined in the // c_api_unified_experimental_internal.h header. // // =============================================================================
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
#include "tensorflow/core/platform/thread_annotations.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/public/session.h" #include "tensorflow/core/public/version.h" // The implementation below is at the top level instead of the // brain namespace because we are defining 'extern "C"' functions. using tensorflow::AttrValueMap; using tensorflow::DataType; using tensorflow::ExtendSessionGraphHelper;
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) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
#include "tensorflow/c/tf_file_statistics.h" #include "tensorflow/c/tf_status.h" // Implementation of a filesystem for POSIX environments. // This filesystem will support `file://` and empty (local) URI schemes. static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } static void plugin_memory_free(void* ptr) { free(ptr); } // SECTION 1. Implementation for `TF_RandomAccessFile`
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
#include "tensorflow/core/platform/test.h" // NOTE(allenl): These tests currently go through TFE_Execute and so are // integration testing rather than purely testing the parallel device. They // correspond fairly well to the implementation, but testing the C++ directly is // another option. namespace tensorflow { namespace parallel_device { Variable* Variable::Create(TFE_Context* context, TF_DataType type,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
#include "tensorflow/core/platform/test.h" // NOTE(allenl): These tests currently go through TFE_Execute and so are // integration testing rather than purely testing the parallel device. They // correspond fairly well to the implementation, but testing the C++ directly is // another option. namespace tensorflow { namespace parallel_device { using ::testing::HasSubstr; TEST(PARALLEL_DEVICE, TestBasicCPU) {
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) -
tensorflow/c/experimental/gradients/array_grad_test.cc
bool UseFunction() const { return std::get<2>(GetParam()); } }; TEST_P(CppGradients, TestIdentityNGrad) { // This test is interesting because the current implementation of GradientTape // would return [0, 1] whereas we use build_default_zeros_grads=false here // so we get back [nullptr, 1]. AbstractTensorHandlePtr x1; { AbstractTensorHandle* x1_raw = nullptr;
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
// The tests defined here test the compliance of filesystems with the API // defined by `filesystem_interface.h`. // // As some filesystems require special setup, these tests are run manually. // // Each filesystem implementation can be provided by DSOs, so we provide the // `--dsos` flag to specify a list of shared objects to be loaded in order. // If the flag is not used, no shared objects are loaded. //
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
using tensorflow::Status; using tensorflow::string; using tensorflow::TF_StatusPtr; namespace tensorflow { namespace { // The tests are parameterized on: // - a string representing the tracing implementation: "mlir" or "graphdef". // - a boolean that when true enables TFRT as the execution engine. class UnifiedCAPI : public ::testing::TestWithParam<std::tuple<const char*, bool>> { protected: void SetUp() override {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
if (tp_configs.disable_model_pruning == TF_TriState_On) configs.disable_model_pruning = true; else configs.disable_model_pruning = false; // The other configs are turned on by default. CONFIG_TOGGLE(implementation_selector); CONFIG_TOGGLE(function_optimization); CONFIG_TOGGLE(common_subgraph_elimination); CONFIG_TOGGLE(arithmetic_optimization); CONFIG_TOGGLE(debug_stripper); CONFIG_TOGGLE(constant_folding);
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1)