Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Blog (0.16 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      for (int i = 0; i < num_tasks; i++) {
        int port = tensorflow::testing::PickUnusedPortOrDie();
        job_def->mutable_tasks()->insert(
            {i, tensorflow::strings::StrCat("localhost", ":", port)});
        LOG(INFO) << "Picked test port: " << port << " for job: " << job_name
                  << ", task: " << i;
      }
      return server_def;
    }
    
    namespace tensorflow {
    namespace parallel_device {
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    #include "tensorflow/core/framework/cpp_shape_inference.pb.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    #include "tensorflow/core/framework/kernel_def.pb.h"
    #include "tensorflow/core/framework/log_memory.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/framework/partial_tensor_shape.h"
    #include "tensorflow/core/framework/shape_inference.h"
    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)
  3. tensorflow/c/c_api_experimental.cc

      {
        tensorflow::mutex_lock c(session->graph->mu);
        if (VLOG_IS_ON(1)) {
          VLOG(1) << "Enqueuing named tensor with id " << tensor_id
                  << ", with input graph: "
                  << session->graph->graph.ToGraphDefDebug().DebugString();
          tensorflow::Tensor internal_tensor;
          if (tensorflow::TF_TensorToTensor(tensor, &internal_tensor).ok()) {
            VLOG(1) << "Enqueu'ing tensor content: "
    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)
  4. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

    #include <cstdint>
    #include <memory>
    #include <optional>
    #include <utility>
    #include <vector>
    
    #include <gtest/gtest.h>
    #include "absl/log/check.h"
    #include "xla/pjrt/c/pjrt_c_api.h"
    #include "xla/pjrt/c/pjrt_c_api_cpu.h"
    #include "xla/pjrt/c/pjrt_c_api_wrapper_impl.h"
    #include "xla/pjrt/pjrt_api.h"
    #include "xla/pjrt/pjrt_c_api_client.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      LOG(INFO) << "There are " << num_devices << " devices.";
      for (int i = 0; i < num_devices; ++i) {
        const char* device_name = TF_DeviceListName(device_list, i, s);
        CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        const char* device_type = TF_DeviceListType(device_list, i, s);
        CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // Loads a shared object implementing filesystem functionality.
    static bool LoadDSO(const std::string& dso) {
      tensorflow::Status status = RegisterFilesystemPlugin(dso);
      if (!status.ok())
        VLOG(0) << "Filesystems from '" << dso
                << "' could not be registered: " << status;
      return status.ok();
    }
    
    // Tests whether a URI scheme results in a filesystem that is supported.
    //
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_static.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "absl/log/log.h"
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/experimental/filesystem/modular_filesystem_registration.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      TF_VLog(3, "Sync: gs://%s/%s", gcs_file->bucket.c_str(),
              gcs_file->object.c_str());
      Flush(file, status);
    }
    
    void Close(const TF_WritableFile* file, TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      TF_VLog(3, "Close: gs://%s/%s", gcs_file->bucket.c_str(),
              gcs_file->object.c_str());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api.cc

          attr_name, static_cast<const char*>(value), length);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) {
      auto s = tensorflow::unwrap(op)->SetAttrInt(attr_name, value);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    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)
  10. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      return OkStatus();
    }
    
    // Checks if the plugin and core API numbers match, logging mismatches.
    static void CheckAPI(int plugin_API, int core_API, StringPiece where) {
      if (plugin_API != core_API) {
        VLOG(0) << "Plugin API (" << plugin_API << ") for " << where
                << " operations doesn't match expected core API (" << core_API
                << "). Plugin will be loaded but functionality might be missing.";
      }
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top