Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Blog (0.18 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/c/eager/c_api_test_util.cc

        const string dev_name(TF_DeviceListName(devices, i, status.get()));
        CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        if (dev_type == device_type) {
          *device_name = dev_name;
          LOG(INFO) << "Found " << device_type << " device " << *device_name;
          TF_DeleteDeviceList(devices);
          return true;
        }
      }
      TF_DeleteDeviceList(devices);
      return false;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  10. tensorflow/c/experimental/gradients/math_grad.cc

                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        // TODO(vnvo2409): Add control dependency
        /* Given upstream grad U and a Log1p op: Y = log(1 + X), the gradients are:
         *
         *    dX = U / (1 + X)
         *
         */
    
        AbstractTensorHandle* upstream_grad = grad_outputs[0];
        AbstractTensorHandle* X = forward_inputs_[0];
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top