- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for flot (0.13 sec)
-
tensorflow/c/eager/parallel_device/parallel_device.cc
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), status); } else { TF_SetStatus( status, TF_UNIMPLEMENTED,
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) -
tensorflow/c/eager/gradient_checker_test.cc
Status s = TestScalarTensorHandle<float, TF_FLOAT>(ctx_.get(), 2.0f, &x_raw); ASSERT_EQ(errors::OK, s.code()) << s.message(); x.reset(x_raw); } AbstractTensorHandlePtr y; { AbstractTensorHandle* y_raw = nullptr; Status s = TestScalarTensorHandle<float, TF_FLOAT>(ctx_.get(), 7.0f, &y_raw); ASSERT_EQ(errors::OK, s.code()) << s.message();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 6.5K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_test.cc
ctx.reset(ctx_raw); } AbstractTensorHandlePtr x; { AbstractTensorHandle* x_raw = nullptr; float data[] = {0., 0., 0., 0., 0., 0., 0., 0}; int64_t dim_sizes[] = {2, 4}; Status s = TestTensorHandleWithDims<float, TF_FLOAT>(ctx.get(), data, dim_sizes, 2, &x_raw); ASSERT_EQ(errors::OK, s.code()) << s.message();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 6.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
#include "tensorflow/core/util/port.h" using tensorflow::string; using tensorflow::tstring; TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value) { float data[] = {value}; TF_Status* status = TF_NewStatus(); TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_FLOAT, nullptr, 0, status); memcpy(TF_TensorData(t), &data[0], TF_TensorByteSize(t)); TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, 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) -
tensorflow/c/eager/c_api_remote_test_util.cc
" name: 'a'" " type: DT_FLOAT" " }" " input_arg {" " name: 'b'" " type: DT_FLOAT" " }" " output_arg {" " name: 'm'" " type: DT_FLOAT" " }" " }"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/c/eager/unified_api_testutil.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/eager/c_api_unified_experimental.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
reshape_op = nullptr; TFE_Op* fill_op = TFE_NewOp(tfe_context_, "Fill", status_); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); TFE_OpSetAttrType(fill_op, "T", TF_FLOAT); TFE_OpSetAttrType(fill_op, "Tshape", TF_INT32); float five = 5.0; TFE_TensorHandle* scalar = TestScalarTensorHandle(tfe_context_, five); TF_Tensor* scalarTensor = TFE_TensorHandleResolve(scalar, status_);
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/eager/c_api_unified_experimental_graph.cc
op_->node_builder.Attr(attr_name, v); } return absl::OkStatus(); } Status SetAttrFloatList(const char* attr_name, const float* values, int num_values) override { op_->node_builder.Attr(attr_name, ArraySlice<const float>(values, num_values)); return absl::OkStatus(); } Status SetAttrIntList(const char* attr_name, const int64_t* values,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/eager/c_api.cc
i_vector.push_back(default_value.list().i(i)); } TFE_OpSetAttrIntList(op, attr_name, i_vector.data(), i_size); } // Float if (const int f_size = default_value.list().f_size()) { absl::InlinedVector<float, 4> f_vector; f_vector.reserve(f_size); for (int i = 0; i < f_size; ++i) { f_vector.push_back(default_value.list().f(i)); }
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/eager/c_api_experimental.cc
#include "tensorflow/c/eager/c_api_experimental.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/match.h" #include "absl/time/time.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api_internal.h" #include "tensorflow/c/eager/tfe_context_internal.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3)