- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 141 for Vector2 (0.26 sec)
-
tensorflow/c/eager/gradient_checker.cc
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. vector<float> dtheta_approx(num_elems); // Get theta shape and store in theta_dims. int num_dims = TF_NumDims(theta_tensor); vector<int64_t> theta_dims(num_dims);
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/c_api_debug.cc
#include "tensorflow/core/platform/status.h" using tensorflow::string; namespace { std::vector<int64_t> TensorShapeAsVector(const tensorflow::TensorHandle& handle, tensorflow::Status* status) { std::vector<int64_t> shape; int rank = -1; *status = handle.NumDims(&rank); if (!status->ok()) { return shape; } shape.reserve(rank);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 2.5K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
std::vector<tensorflow::string> tensor_id_data; }; struct TF_ImportGraphDefResults { std::vector<TF_Output> return_tensors; std::vector<TF_Operation*> return_nodes; std::vector<const char*> missing_unused_key_names; std::vector<int> missing_unused_key_indexes; // Backing memory for missing_unused_key_names values. std::vector<tensorflow::string> missing_unused_key_names_data;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
// Process inputs. std::vector<tensorflow::OutputTensor> input_tensors; std::unordered_map<const Node*, std::vector<int>> input_nodes; status->status = tensorflow::ProcessInputs(fn_body, fn_name, ninputs, inputs, &input_tensors, &input_nodes); if (TF_GetCode(status) != TF_OK) return nullptr; // Process outputs. std::vector<tensorflow::OutputTensor> output_tensors;
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) -
src/archive/tar/reader_test.go
"bytes" "compress/bzip2" "crypto/md5" "errors" "fmt" "io" "math" "os" "path" "reflect" "strconv" "strings" "testing" "time" ) func TestReader(t *testing.T) { vectors := []struct { file string // Test input file headers []*Header // Expected output headers chksums []string // MD5 checksum of files, leave as nil if not checked err error // Expected error to occur }{{
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
tensorflow/c/eager/tfe_tensor_debug_info_internal.h
#define TENSORFLOW_C_EAGER_TFE_TENSOR_DEBUG_INFO_INTERNAL_H_ #include <vector> #include "tensorflow/core/platform/types.h" struct TFE_TensorDebugInfo { explicit TFE_TensorDebugInfo(const std::vector<int64_t>& dims) : dev_dims(dims) {} // Fully-padded, minor-to-major. std::vector<int64_t> dev_dims; };
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 1.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
absl::InlinedVector<const void*, 4> values_vector; values_vector.reserve(s_size); absl::InlinedVector<size_t, 4> lengths_vector; lengths_vector.reserve(s_size); for (int i = 0; i < s_size; ++i) { const string& v = default_value.list().s(i); values_vector.push_back(v.data()); lengths_vector.push_back(v.size()); }
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) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
// don't want to have a `std::vector<std::string>` at global level, we use a // static pointer to such a vector: we construct it via `SchemeVector()` below // and when tests are instantiated we process it using `GetSchemes()`. static std::vector<std::string>* SchemeVector() { static std::vector<std::string>* schemes = new std::vector<std::string>; return schemes; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
Status FileExists(const std::string& fname, TransactionToken* token) override; bool FilesExist(const std::vector<std::string>& files, TransactionToken* token, std::vector<Status>* status) override; Status GetChildren(const std::string& dir, TransactionToken* token, std::vector<std::string>* result) override; Status GetMatchingPaths(const std::string& pattern, TransactionToken* token,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
} } } private: // TODO(b/174778737): Only hold needed inputs. vector<AbstractTensorHandle*> forward_inputs_; }; class DivNoNanGradientFunction : public GradientFunction { public: explicit DivNoNanGradientFunction(vector<AbstractTensorHandle*> f_inputs, vector<AbstractTensorHandle*> f_outputs) : forward_inputs_(f_inputs), forward_outputs_(f_outputs) {
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)