Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Rush (0.3 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

      return wrap(unwrap(o)->outputs[i]);
    }
    void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor,
                               TF_Status* s) {
      unwrap(o)->outputs.push_back(unwrap(tensor));
    }
    
    void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type,
                                TF_Status* s) {
      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Reset(op_type,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        TF_ImportGraphDefOptions* opts, TF_Operation* oper) {
      opts->opts.control_dependencies.push_back(oper->node.name());
    }
    
    void TF_ImportGraphDefOptionsAddReturnOutput(TF_ImportGraphDefOptions* opts,
                                                 const char* oper_name, int index) {
      opts->tensor_id_data.push_back(oper_name);
      const string& oper_name_str = opts->tensor_id_data.back();
    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_function.cc

        for (int i = 0; i < noutputs; ++i) {
          output_names_vec.push_back(string(output_names[i]));
        }
      }
    
      // Process control output names.
      std::vector<string> control_output_names_vec;
      if (control_output_names) {
        control_output_names_vec.reserve(ncontrol_outputs);
        for (int i = 0; i < ncontrol_outputs; ++i) {
          control_output_names_vec.push_back(string(control_output_names[i]));
        }
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        components.reserve(underlying_devices_.size());
        for (int j = 0; j < underlying_devices_.size(); ++j) {
          components.push_back(std::move(per_device_output_tensors[j][i]));
        }
        if (expected_output_shapes[i].IsFullyDefined()) {
          per_device_outputs.push_back(ParallelTensor::FromTensorHandles(
              *this, std::move(components),
              absl::Span<const int64_t>(expected_output_shapes[i].dim_sizes()),
    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)
  5. tensorflow/c/eager/parallel_device/parallel_device.cc

              absl::get<TFE_TensorHandle*>(inputs[i]), status));
        }
        std::vector<MaybeParallelTensorOwned> result_content;
        result_content.reserve(1);
        result_content.push_back(ParallelTensor::FromTensorHandles(
            parallel_device, std::move(components), status));
        if (TF_GetCode(status) != TF_OK) return result;
        result.emplace(std::move(result_content));
        return result;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/custom_device_testutil.cc

      TFE_DeleteOp(op);
      if (TF_GetCode(s) != TF_OK) return;
      std::vector<TFE_TensorHandle*> unwrapped_outputs;
      unwrapped_outputs.reserve(op_outputs.size());
      for (auto* handle : op_outputs) {
        unwrapped_outputs.push_back(handle);
      }
      for (int i = 0; i < *num_outputs; ++i) {
        auto logged_tensor = std::make_unique<LoggedTensor>(unwrapped_outputs[i]);
        outputs[i] = MakeLoggedTensorHandle(context, dev->device_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/c_api.cc

                              TF_Status* status) {
      std::vector<tensorflow::VariableInfo*> variable_ptrs;
      variable_ptrs.reserve(num_vars);
      for (int i = 0; i < num_vars; ++i) {
        variable_ptrs.push_back(&(vars[i]->var_info));
      }
      absl::Status cc_status = LockVariables(absl::MakeSpan(variable_ptrs));
      status->status = cc_status;
    }
    
    void TF_AllocateTempForVariableInfo(TF_OpKernelContext* ctx,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      std::vector<TensorHandlePtr> vector_handles;
      vector_handles.reserve(2);
      vector_handles.push_back(std::move(two_vector));
      vector_handles.push_back(std::move(three_vector));
      std::unique_ptr<ParallelTensor> unknown_length_vector =
          ParallelTensor::FromTensorHandles(
              parallel_device, std::move(vector_handles), status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

                                                        &entries, status_);
      EXPECT_TF_OK(status_);
    
      std::vector<std::string> childrens;
      for (int i = 0; i < num_entries; ++i) {
        childrens.push_back(entries[i]);
      }
      std::sort(childrens.begin(), childrens.end());
      EXPECT_EQ(std::vector<string>({"SubDir/", "TestFile.csv"}), childrens);
    }
    
    TEST_F(GCSFilesystemTest, DeleteFile) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.cc

        TF_Function* func = TF_FunctionImportFunctionDef(
            binary_proto_buf.data(), binary_proto_buf.size(), status);
        if (!status->status.ok()) return {};
        ret.push_back(UniqueFuncPtr(func, TF_DeleteFunction));
      }
      return ret;
    }
    
    TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id,
                                     TF_Status* status) {
      assert(session);
    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)
Back to top