Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for last (0.12 sec)

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

      tensorflow::condition_variable finished_join_;
    
      // Temporary state between `StartExecute` and `Join`.
      //
      //   Inputs; pointers are to objects not owned by the DeviceThread, but which
      //   are expected to live at least until `Join` finishes:
      TFE_Context* context_ TF_GUARDED_BY(execution_mutex_);
      const char* operation_name_ TF_GUARDED_BY(execution_mutex_);
      absl::optional<int64_t> step_id_ TF_GUARDED_BY(execution_mutex_) =
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      // in order to update them as appropriate.
      auto new_entry = std::make_shared<Block>();
      lru_list_.push_front(key);
      lra_list_.push_front(key);
      new_entry->lru_iterator = lru_list_.begin();
      new_entry->lra_iterator = lra_list_.begin();
      new_entry->timestamp = timer_seconds_();
      block_map_.emplace(std::make_pair(key, new_entry));
      return new_entry;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

      delete counter;
    }
    
    TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
        TFE_MonitoringCounter0* counter) {
      return static_cast<TFE_MonitoringCounterCell*>(
          static_cast<void*>(counter->counter->GetCell()));
    }
    
    TFE_MonitoringCounter1* TFE_MonitoringNewCounter1(const char* name,
                                                      TF_Status* status,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          return errors::Internal("Expected 1 output but found ", num_outputs);
        }
        auto* t = dyn_cast<GraphTensor>(outputs[0]);
        if (!t) {
          return tensorflow::errors::InvalidArgument(
              "Unable to cast input to GraphTensor");
        }
        inputs_.push_back(t->output_);
        *output = tensorflow::down_cast<TracingTensorHandle*>(outputs[0]);
        return absl::OkStatus();
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          return;
        }
        *offset = static_cast<int64_t>(metadata->size());
        TF_SetStatus(status, TF_OK, "");
      }
    }
    
    void Cleanup(TF_WritableFile* file) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      delete gcs_file;
    }
    
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
                TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
    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)
  6. tensorflow/c/eager/c_api.cc

            }
            TFE_OpSetAttrTypeList(
                op, attr_name,
                reinterpret_cast<const TF_DataType*>(type_vector.data()),
                type_size);
          }
    
          // Rest are not supported.
          if (default_value.list().shape_size() > 0 ||
              default_value.list().func_size() > 0 ||
              default_value.list().tensor_size() > 0) {
    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)
  7. tensorflow/c/eager/tracing_utils.cc

    namespace tracing {
    
    Status MaybeSetOpName(AbstractOperation* op, const char* op_name) {
      if (isa<TracingOperation>(op)) {
        TF_RETURN_IF_ERROR(dyn_cast<TracingOperation>(op)->SetOpName(op_name));
      }
      if (isa<gradients::TapeOperation>(op)) {
        TF_RETURN_IF_ERROR(MaybeSetOpName(
            dyn_cast<gradients::TapeOperation>(op)->GetBackingOperation(),
            op_name));
      }
      return absl::OkStatus();
    }
    }  // namespace tracing
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc

      if (av_tensor == nullptr || av_tensor->GetBuffer() == nullptr) {
        return absl::InternalError("Input tensor does not have PjRtBuffer.");
      }
      auto* c_api_buffer =
          dynamic_cast<xla::PjRtCApiBuffer*>(av_tensor->GetBuffer().get());
      if (c_api_buffer == nullptr) {
        return absl::InternalError(
            "The PjRtBuffer in the tensor is not type PjRtCApiBuffer.");
      }
      return c_api_buffer->c_buffer();
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/unified_api_test.cc

      }
      AbstractContextPtr ctx(BuildFunction("test_fn"));
      AbstractTensorHandlePtr x;
      {
        tracing::TracingTensorHandle* x_raw = nullptr;
        PartialTensorShape shape;
        Status s = dyn_cast<tracing::TracingContext>(ctx.get())->AddParameter(
            DT_FLOAT, shape, &x_raw);
        ASSERT_EQ(errors::OK, s.code()) << s.message();
        x.reset(x_raw);
      }
    
      PartialTensorShape shape;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_testutil.cc

          }
          AbstractFunction* func = nullptr;
          OutputList output_list;
          output_list.expected_num_outputs = 0;
          output_list.outputs.reserve(outputs.size());
          for (int i = 0; i < model_outputs.size(); i++) {
            if (model_outputs[i]) {
              output_list.outputs.emplace_back(model_outputs[i]);
              output_list.expected_num_outputs += 1;
            } else {
              null_indices.insert(i);
            }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top