- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for _values (0.74 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem.cc
std::vector<TF_Filesystem_Option_Value_Union> option_values(values.size()); for (size_t i = 0; i < values.size(); i++) { memset(&option_values[i], 0, sizeof(option_values[i])); option_values[i].real_val = values[i]; } option_value.values = &option_values[0]; option.value = &option_value; UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
ResetOutputValues(); output_values_.resize(outputs_.size(), nullptr); const TF_Output* inputs_ptr = inputs_.empty() ? nullptr : &inputs_[0]; TF_Tensor* const* input_values_ptr = input_values_.empty() ? nullptr : &input_values_[0]; const TF_Output* outputs_ptr = outputs_.empty() ? nullptr : &outputs_[0]; TF_Tensor** output_values_ptr = output_values_.empty() ? nullptr : &output_values_[0];
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/experimental/grappler/grappler.cc
include_input_tensor_values, include_output_tensor_values); if (!s.ok()) { tsl::Set_TF_Status_from_Status(status, s); } } void TF_GetInputPropertiesListSize(TF_GraphProperties* graph_properties, const char* name, int* num_values, TF_Status* status) {
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/eager/gradients.cc
return op_->SetAttrTypeList(attr_name, values, num_values); } Status SetAttrBoolList(AbstractOperation* op_, const char* attr_name, const unsigned char* values, int num_values, ForwardOperation* forward_op_) { std::unique_ptr<bool[]> b(new bool[num_values]); for (int i = 0; i < num_values; ++i) { b[i] = values[i]; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
TF_Bool aggressive_shape_inference, TF_Bool include_input_tensor_values, TF_Bool include_output_tensor_values, TF_Status* s); // Get the size of input OpInfo::TensorProperties given node name. TF_CAPI_EXPORT extern void TF_GetInputPropertiesListSize( TF_GraphProperties* graph_properties, const char* name, int* num_values, TF_Status* status);
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
int num_values) override { op_->node_builder.Attr(attr_name, ArraySlice<const DataType>(values, num_values)); return absl::OkStatus(); } Status SetAttrBoolList(const char* attr_name, const unsigned char* values, int num_values) override { std::unique_ptr<bool[]> b(new bool[num_values]); for (int i = 0; i < num_values; ++i) {
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.h
const float* values, int num_values); TF_CAPI_EXPORT extern void TFE_OpSetAttrBoolList(TFE_Op* op, const char* attr_name, const unsigned char* values, int num_values);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/c_api.cc
const float* values, int num_values) { auto s = tensorflow::unwrap(op)->SetAttrFloatList(attr_name, values, num_values); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } } void TFE_OpSetAttrIntList(TFE_Op* op, const char* attr_name, const int64_t* values, int num_values) { auto s =
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_cluster_test.cc
TF_DeleteTensor(t); for (int i = 0; i < expected_values.size(); i++) { EXPECT_EQ(expected_values[i], actual_values[i]) << "Mismatch in expected values at (zero-based) index " << i; } } void CheckRemoteMatMulExecutesOK(TFE_Context* ctx, const char* remote_device_name, const char* local_device_name) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_test.cc
if (node.op() == "AddN") { int num_values = 0; TF_GetInputPropertiesListSize(graph_properties, node.name().c_str(), &num_values, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); EXPECT_EQ(num_values, 1); std::vector<TF_Buffer*> in_props_buf(num_values, TF_NewBuffer());
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0)