- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for defaults (0.33 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
TFE_TensorHandle* h_default = TestMatrixTensorHandle(ctx); const char* device_type = TFE_TensorHandleDeviceType(h_default, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); ASSERT_TRUE(absl::StrContains(device_type, "CPU")) << device_type; int device_id = TFE_TensorHandleDeviceID(h_default, status.get());
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/filesystem/plugins/gcs/ram_file_block_cache_test.cc
// one second of wall time), it should remove "a" and leave "b" alone. uint64 start = Env::Default()->NowSeconds(); do { Env::Default()->SleepForMicroseconds(100000); } while (cache.CacheSize() == 24 && Env::Default()->NowSeconds() - start < 3); // There should be one block left in the cache, and it should be the first // block of "b". EXPECT_EQ(cache.CacheSize(), 8);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
std::vector<std::string>* result) { if (ops_->get_matching_paths == nullptr) return internal::GetMatchingPaths(this, Env::Default(), pattern, result); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); // Note that `matches` is allocated by the plugin and freed by core
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/eager/c_api_experimental.h
// appended later), but should include any information specific to this custom // device which would be useful for debugging. // // Optional. If null, defaults to resolving the TFE_TensorHandle into a // TF_Tensor and summarizing that. TF_Buffer* (*summarize)(void* data, TF_Status* status) = nullptr; } TFE_CustomDeviceTensorHandle;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
if (current_grad == accumulated_gradients_.end()) { if (IsDtypeTrainable(input_tensors[target_index].GetDType())) { // ForwardAccumulator defaults to zeros for unwatched Tensors, unlike // GradientTape which uses ones. Gradient* zero = input_tensors[target_index].ZerosLike(); new_zeros.push_back(zero); in_grads.push_back(zero);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/c_api.h
// will be blocked till the copy completes. This is the default placement // policy. TFE_DEVICE_PLACEMENT_SILENT = 2, // Placement policy which silently copies int32 tensors but not other dtypes. TFE_DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3, } TFE_ContextDevicePlacementPolicy; // LINT.ThenChange(//tensorflow/c/eager/immediate_execution_context.h) // Sets the default execution mode (sync/async). Note that this can be
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/dlpack.cc
case 128: *tf_dtype = TF_DataType::TF_COMPLEX128; return absl::OkStatus(); default: return tensorflow::errors::InvalidArgument( "Unsupported Complex bits: ", dtype.bits); } break; default: return tensorflow::errors::InvalidArgument("Unsupported Type Codes: ", dtype.code); } }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/BUILD
"tf_copts", "tf_cuda_library", "tf_custom_op_library", "tf_kernel_library", ) load("//tensorflow:tensorflow.default.bzl", "filegroup", "tf_cuda_cc_test") load( "//tensorflow/core/tpu:build_defs.bzl", "if_libtpu_tf_status", ) package( # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"], licenses = ["notice"], ) filegroup( name = "safe_ptr_hdr",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
ConfigList configs; // disable_model_pruning is turned off by default. if (tp_configs.disable_model_pruning == TF_TriState_On) configs.disable_model_pruning = true; else configs.disable_model_pruning = false; // The other configs are turned on by default. CONFIG_TOGGLE(implementation_selector); CONFIG_TOGGLE(function_optimization);
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/experimental/grappler/grappler.h
// } #define GO_MAJOR 0 #define GO_MINOR 0 #define GO_PATCH 1 #ifdef __cplusplus extern "C" { #endif // TF_TriState is the C API typedef for tri-state. typedef enum TF_TriState { TF_TriState_Default = 0, TF_TriState_Off, TF_TriState_On, } TF_TriState; // TF_GrapplerItem represents a combination of a graph, one of more fetch nodes, // and potentially a set of nodes to feed.
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)