- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for assign (0.17 sec)
-
.github/workflows/trusted_partners.js
} if (assignees.length > 0) { const resp_assign = await github.rest.issues.addAssignees({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, assignees: assignees }); if (resp_assign.status >= 400) { console.log(resp_assign); throw "Error adding assignee to PR"; } }
JavaScript - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Feb 07 13:52:04 GMT 2023 - 4.5K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc
tensorflow::Tensor tensor(allocator.get(), DT_FLOAT, {1}); TF_ASSERT_OK_AND_ASSIGN( auto pjrt_client, xla::GetTfrtCpuClient(/*asynchronous=*/true, /*cpu_device_count=*/1)); std::vector<int32_t> data(1, 0); xla::Shape shape = xla::ShapeUtil::MakeShape(xla::S32, {1}); TF_ASSERT_OK_AND_ASSIGN( auto buffer, pjrt_client->BufferFromHostBuffer(
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) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc
if (av_tensor == nullptr) { TF_ASSIGN_OR_RETURN( *tensor, MakeTensorFromPjRtBuffer(tensor->dtype(), tensor->shape(), std::move(buffer))); } else { av_tensor->SetBuffer(std::move(buffer)); } return absl::OkStatus(); } absl::StatusOr<xla::PjRtCApiClient*> GetPjRtCApiClient( const DeviceType& device_type) {
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) -
.github/workflows/trusted-partners.yml
# ============================================================================== name: Trusted Partner PR on: pull_request_target: permissions: contents: read jobs: assign-partner-tags: runs-on: ubuntu-latest permissions: # Needed to attach tags into the PR issues: write contents: write pull-requests: write if: |
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Sep 12 14:49:29 GMT 2023 - 2.4K bytes - Viewed (0) -
.github/workflows/create_issue.js
} const pr_title = pr_resp.data.title; // Assign to PR owner and reviewers const assignees = pr_resp.data.assignees.concat(pr_resp.data.requested_reviewers); let assignee_logins = assignees.map(x => x.login); assignee_logins.push(pr_resp.data.user.login); console.log(assignee_logins); // Create an new GH Issue and reference the Original PR
JavaScript - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Oct 18 23:04:59 GMT 2021 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
} void Variable::AssignAdd(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status) { GeneralAssignment("AssignAddVariableOp", context, value, status); } void Variable::Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status) { GeneralAssignment("AssignVariableOp", context, value, status); }
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/c_api_experimental_test.cc
TEST(CAPI_EXPERIMENTAL, IsStateful) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); int assign = TF_OpIsStateful("AssignAddVariableOp", status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); EXPECT_EQ(assign, 1); int id = TF_OpIsStateful("Identity", status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); EXPECT_EQ(id, 0);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
std::unique_ptr<CSession> expected_csession( new CSession(expected_graph_, s_)); std::vector<TF_Output> grad_outputs_vec; grad_outputs_vec.assign(grad_outputs, grad_outputs + 2); csession->SetOutputs(grad_outputs_vec); csession->Run(s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_Tensor* out0 = csession->output_tensor(0);
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) -
CONTRIBUTING.md
* If you work for a company that wants to allow you to contribute your work, then you'll need to sign a [corporate CLA](https://code.google.com/legal/corporate-cla-v1.0.html).
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
TFE_Execute(op, &var_handle, &num_retvals, status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_DeleteOp(op); if (TF_GetCode(status) != TF_OK) return nullptr; CHECK_EQ(1, num_retvals); // Assign 'value' to it. op = TFE_NewOp(ctx, "AssignVariableOp", status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetAttrType(op, "dtype", TF_FLOAT); TFE_OpAddInput(op, var_handle, status);
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)