- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for Value (0.14 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
cache.Insert("d", 4); int value = 0; EXPECT_TRUE(cache.Lookup("a", &value)); EXPECT_EQ(value, 1); EXPECT_TRUE(cache.Lookup("b", &value)); EXPECT_EQ(value, 2); EXPECT_TRUE(cache.Lookup("c", &value)); EXPECT_EQ(value, 3); EXPECT_TRUE(cache.Lookup("d", &value)); EXPECT_EQ(value, 4); cache.Clear(); EXPECT_FALSE(cache.Lookup("a", &value)); EXPECT_FALSE(cache.Lookup("b", &value));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
forward_op_.attrs.Set(attr_name, static_cast<int64_t>(value)); return parent_op_->SetAttrInt(attr_name, value); } Status TapeOperation::SetAttrFloat(const char* attr_name, float value) { forward_op_.attrs.Set(attr_name, value); return parent_op_->SetAttrFloat(attr_name, value); } Status TapeOperation::SetAttrBool(const char* attr_name, bool value) { forward_op_.attrs.Set(attr_name, value);
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
memset(&option, 0, sizeof(option)); option.name = const_cast<char*>(name.c_str()); TF_Filesystem_Option_Value option_value; memset(&option_value, 0, sizeof(option_value)); option_value.type_tag = TF_Filesystem_Option_Type_Buffer; option_value.num_values = values.size(); std::vector<TF_Filesystem_Option_Value_Union> option_values(values.size()); for (size_t i = 0; i < values.size(); i++) {
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) -
.github/ISSUE_TEMPLATE/tflite-other.md
Request - Documentation Bug - Others validations: required: true - type: markdown attributes: value: | Please make sure that this is a bug. As per our [GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md),we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. - type: markdown attributes: value: |
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Dec 29 22:28:29 GMT 2022 - 3.4K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
EXPECT_TF_META("v", -1, TF_ATTR_TENSOR, -1); TF_Tensor* value; TF_OperationGetAttrTensor(oper, "v", &value, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); ASSERT_NE(nullptr, value); EXPECT_EQ(TF_INT8, TF_TensorType(value)); EXPECT_EQ(ndims, TF_NumDims(value)); for (int i = 0; i < TF_NumDims(value); ++i) { EXPECT_EQ(dims[i], TF_Dim(value, i)) << i; }
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/eager/c_api_test.cc
tensorflow::AttrValue padding_value; *padding_value.mutable_s() = "VALID"; tensorflow::SetOpAttrValueScalar(ctx, op, padding_value, "padding", status); tensorflow::AttrValue data_format_value; *data_format_value.mutable_s() = "NHWC"; tensorflow::SetOpAttrValueScalar(ctx, op, data_format_value, "data_format", status);
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/checkpoint_reader.cc
BundleEntryProto entry; v2_reader_->Seek(kHeaderEntryKey); for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) { CHECK(entry.ParseFromArray(v2_reader_->value().data(), v2_reader_->value().size())) << entry.InitializationErrorString(); for (int i = 0; i < entry.slices_size(); ++i) { const auto& slice_proto = entry.slices(i); CHECK(filtered_keys
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K 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_experimental_test.cc
// Read the value of tensor handle `handle_1`. float value = 0.0f; TF_Tensor* t = TFE_TensorHandleResolve(handle_1, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(sizeof(float), TF_TensorByteSize(t)); memcpy(&value, TF_TensorData(t), sizeof(float)); TF_DeleteTensor(t); EXPECT_EQ(1.2f, value); TFE_DeleteTensorHandle(handle_1);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/eager/abstract_op_attrs.h
#ifndef TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_ #define TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_ #include "absl/container/inlined_vector.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { // Attributes of an op. class AbstractOpAttrs { protected:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed May 26 22:20:27 GMT 2021 - 2K bytes - Viewed (0)