- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 91 for vectores (0.09 sec)
-
tensorflow/c/c_api_experimental_test.cc
} // Checks the expected result of shape inference for the given `op`. void CheckOutputShapes( TFE_Op* op, const std::vector<absl::optional<std::vector<int64_t>>>& input_shapes_vec, const std::vector<TF_Tensor*>& input_tensors, const absl::optional<std::vector<int64_t>>& expected_shape) { // Create input_shapes. TF_ShapeAndTypeList* input_shapes =
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
ops fileOps wantCnt int64 wantErr error } testClose struct { // Close() == wantErr wantErr error } testFnc any // testHeader | testWrite | testReadFrom | testClose ) vectors := []struct { file string // Optional filename of expected output tests []testFnc }{{ // The writer test file was produced with this command: // tar (GNU tar) 1.26 // ln -s small.txt link.txt
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
virtual bool UsesTFRT() = 0; // List attributes of available devices virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0; // Add `devices` into context's device manager. Context's device manager // will take ownership and maintain devices' lifetime. virtual absl::Status AddDevices( std::vector<std::unique_ptr<Device>> devices) = 0; // Block until all pending nodes are finished.
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/dlpack_test.cc
#include "tensorflow/c/eager/dlpack.h" #include <vector> #include "absl/strings/str_join.h" #include "include/dlpack/dlpack.h" // from @dlpack #include "tensorflow/c/eager/c_api.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { void TestHandleFromDLPack(TF_Status* status, TFE_Context* ctx, std::vector<int64_t> shape,
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Fri Jun 30 03:04:46 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
limitations under the License. ==============================================================================*/ #include <memory> #include <utility> #include <vector> #include "absl/strings/str_cat.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/abstract_context.h" #include "tensorflow/c/eager/c_api_internal.h"
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/eager/gradients_test.cc
#include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace gradients { namespace internal { namespace { using std::vector; using tensorflow::TF_StatusPtr; using tracing::TracingOperation; class CppGradients : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> { protected: void SetUp() override {
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
bool ret = TF_GetCode(s) == TF_OK; if (ret) ret = attr_value->ParseFromArray(buffer->data, buffer->length); TF_DeleteBuffer(buffer); return ret; } std::vector<std::pair<string, string>> GetGradDefs( const tensorflow::GraphDef& graph_def) { std::vector<std::pair<string, string>> grads; for (const tensorflow::GradientDef& grad : graph_def.library().gradient()) { grads.emplace_back(grad.function_name(), grad.gradient_func());
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_TensorHandle* h0_task0 = TestMatrixTensorHandle(ctx); TFE_TensorHandle* h1_task0 = TestMatrixTensorHandle(ctx); std::vector<TFE_TensorHandle*> handles_task0; if (heavy_load_on_streaming_rpc) { // Send 50 tensor copy requests to simulate that there have been some RPC // requests been enqueued. for (int i = 0; i < 50; ++i) {
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// gradient registerer to instantiate a GradientFunction. struct ForwardOperation { public: string op_name; std::vector<AbstractTensorHandle*> inputs; std::vector<AbstractTensorHandle*> outputs; std::vector<int64_t> skip_input_indices; AttrBuilder attrs; }; using GradientFunctionFactory = std::function<GradientFunction*(const ForwardOperation& op)>;
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_C_API_UNIFIED_EXPERIMENTAL_INTERNAL_H_ #define TENSORFLOW_C_EAGER_C_API_UNIFIED_EXPERIMENTAL_INTERNAL_H_ #include <vector> #include "tensorflow/c/c_api.h" #include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/abstract_context.h" #include "tensorflow/c/eager/abstract_operation.h"
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 5.2K bytes - Viewed (0)