- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for Case (0.29 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
#include "tensorflow/core/protobuf/config.pb.h" using tensorflow::string; namespace tensorflow { namespace { static bool HasSubstr(absl::string_view base, absl::string_view substr) { bool ok = absl::StrContains(base, substr); EXPECT_TRUE(ok) << base << ", expected substring " << substr; return ok; } TEST(CAPI, MonitoringCounter0) { TF_Status* status = TF_NewStatus(); auto* counter =
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/experimental/grappler/grappler.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ // This file extends/implements core graph optimizer base classes in terms of // the C API defined in grappler.h. A class "CSomething" represents a // "Something" that can be manipulated via calls in the C interface and a C // struct called "TP_Something".
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/c_api.cc
switch (default_value.value_case()) { case tensorflow::AttrValue::kS: { const string& v = default_value.s(); TFE_OpSetAttrString(op, attr_name, v.data(), v.size()); break; } case tensorflow::AttrValue::kI: TFE_OpSetAttrInt(op, attr_name, static_cast<int64_t>(default_value.i())); break; case tensorflow::AttrValue::kF:
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/c_api_function_test.cc
TEST_F(CApiFunctionTest, AppendHash) { DefineFunction("func_name_base", &func_, "Return something", /*append_hash=*/true); tensorflow::FunctionDef fdef; ASSERT_TRUE(GetFunctionDef(func_, &fdef)); #if (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) ASSERT_EQ(string("func_name_base_ZpgUD4x8oqk"), fdef.signature().name()); #else ASSERT_EQ(string("func_name_base_qaJ8jA8UmGY"), fdef.signature().name()); #endif }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
stat->generation_number = metadata->generation(); stat->base.length = metadata->size(); stat->base.mtime_nsec = metadata->time_storage_class_updated().time_since_epoch().count(); stat->base.is_directory = object.back() == '/'; TF_VLog(1, "Stat of: gs://%s/%s -- length: %u generation: %u; mtime_nsec: %u;", bucket.c_str(), object.c_str(), stat->base.length,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)