- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 830 for Benson (0.23 sec)
-
tensorflow/c/eager/gradient_checker.cc
// Convert from AbstractTensor to TF_Tensor. TF_Tensor* theta_tensor; TF_RETURN_IF_ERROR(GetValue(theta, &theta_tensor)); // Get number of elements and fill data. int num_elems = TF_TensorElementCount(theta_tensor); vector<float> theta_data(num_elems); memcpy(theta_data.data(), TF_TensorData(theta_tensor), TF_TensorByteSize(theta_tensor)); // Initialize space for the numerical gradient.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
}; struct LoggedTensor { TFE_TensorHandle* tensor; LoggedTensor() = delete; explicit LoggedTensor(TFE_TensorHandle* tensor) : tensor(tensor) {} ~LoggedTensor() { TFE_DeleteTensorHandle(tensor); } }; int64_t LoggedTensorDim(void* data, int dim_index, TF_Status* status) { return TFE_TensorHandleDim(reinterpret_cast<LoggedTensor*>(data)->tensor, dim_index, status); }
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) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
status->status = cc_status; return nullptr; } tensorflow::Tensor* tensor = var_info->var_info.var()->tensor(); TF_Tensor* result_tensor = tensorflow::TF_TensorFromTensor(*tensor, &cc_status); status->status = cc_status; return result_tensor; } void TF_DeleteVariableInfo(TF_VariableInfo* var_info) { if (var_info != nullptr) { delete var_info;
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) -
tensorflow/c/eager/parallel_device/parallel_device.cc
ParallelTensor* parallel_tensor = reinterpret_cast<ParallelTensor*>( TFE_TensorHandleDevicePointer(tensor, status)); if (TF_GetCode(status) != TF_OK) return nullptr; if (parallel_tensor->num_tensors() == 1) { // Copy-off for single-device tensors is allowed to make debugging dynamic // control flow easier. return TFE_TensorHandleCopySharingTensor(parallel_tensor->tensor(0),
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) -
docs_src/python_types/tutorial010.py
class Person: def __init__(self, name: str): self.name = name def get_person_name(one_person: Person):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 12 21:44:23 GMT 2020 - 144 bytes - Viewed (0) -
licenses/sigs.k8s.io/yaml/LICENSE
The MIT License (MIT) Copyright (c) 2014 Sam Ghods Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 19:53:28 GMT 2023 - 15.8K bytes - Viewed (0) -
licenses/github.com/klauspost/compress/LICENSE
of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work.
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Nov 30 19:13:15 GMT 2021 - 16.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
#include "tensorflow/core/protobuf/tensorflow_server.pb.h" // Return a tensor handle containing a float scalar TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value); // Return a tensor handle containing a int scalar TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, int value); // Return a tensor handle containing a bool scalar TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
// ## Arrange ## Locale.setDefault(Locale.JAPANESE); final SQLException sqlException = new SQLException("some reason", "fooState", 7650); final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660); final SQLException sqlException3 = new SQLException("fuga reason", "bazState", 7670); sqlException.setNextException(sqlException2); sqlException2.setNextException(sqlException3);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.2K bytes - Viewed (0) -
tests/test_read_with_orm_mode.py
app = FastAPI() @app.post("/people/", response_model=PersonRead) def create_person(person: PersonCreate) -> Any: db_person = Person.model_validate(person) return db_person client = TestClient(app) person_data = {"name": "Dive", "lastname": "Wilson"} response = client.post("/people/", json=person_data) data = response.json() assert response.status_code == 200, response.text
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2.4K bytes - Viewed (0)