- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for Values (0.15 sec)
-
tensorflow/c/experimental/gradients/tape/tape_operation.cc
const float* values, int num_values) { forward_op_.attrs.Set(attr_name, gtl::ArraySlice<const float>(values, num_values)); return parent_op_->SetAttrFloatList(attr_name, values, num_values); } Status TapeOperation::SetAttrIntList(const char* attr_name, const int64_t* values, int num_values) { forward_op_.attrs.Set(
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
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_api_test.cc
EXPECT_EQ(2, TF_NumDims(out)); EXPECT_EQ(4, TF_Dim(out, 0)); EXPECT_EQ(1, TF_Dim(out, 1)); float* values = static_cast<float*>(TF_TensorData(out)); // These values are defined to be (input / 2) + 2. EXPECT_EQ(2, values[0]); EXPECT_EQ(2.5, values[1]); EXPECT_EQ(3, values[2]); EXPECT_EQ(3.5, values[3]); csession.CloseAndDelete(s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/gradients/nn_grad_test.cc
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
std::vector<int64_t> values(4, 1); TFE_OpSetAttrIntList(op, "ksize", values.data(), values.size()); TFE_OpSetAttrIntList(op, "strides", values.data(), values.size()); const int BUFFER_SIZE = 10; char buffer[BUFFER_SIZE]; std::strncpy(buffer, "VALID", BUFFER_SIZE); TFE_OpSetAttrString(op, "padding", buffer, std::strlen(buffer)); // Overwriting value in "buffer", should be fine since TFE_Op
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// Returns a Boolean hint indicating whether callers should prefer // `SummarizeValue` to resolving this handle and formatting the tensor. // // For example some tensor handles may represent distributed values, in which // case placement information is lost when resolving the handle. // // If false, a caller might implement pretty-printing by resolving and
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
*tensor = unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get())); return absl::OkStatus(); } // Return a scalar tensor handle with given value. template <class T, TF_DataType datatype> Status TestScalarTensorHandle(AbstractContext* ctx, const T value, AbstractTensorHandle** tensor) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
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; }; struct TF_DeviceList { std::vector<tensorflow::DeviceAttributes> response; }; struct TF_Function {
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/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)