- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for stdx (0.07 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
static void InitializeTestRNG() { std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> distribution; rng_val_ = distribution(gen); } static void SetCloudPath(const std::string& cloud_path) { cloud_path_ = cloud_path; if (cloud_path_.back() == '/') cloud_path_.pop_back(); } static void SetTmpDir(const std::string& tmp_dir) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 20:25:58 UTC 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
// outputs are as expected. // 'T' stands for 'tensor' since the outputs are tensors, not scalars. void RunT(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs, std::initializer_list<TF_Output> outputs, const std::vector<std::vector<int32_t>>& expected_results) { // Create a session for this graph CSession csession(host_graph_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
float float_min = std::min(0.f, float_quant_params.min()->Get(0)); float float_max = std::max(0.f, float_quant_params.max()->Get(0)); if (symmetric) { // When the symmetric case, ConvertStatsToQDQs in PrepareQuantizePass // updates the min and max values into bigger absolute values. float_max = std::max(std::abs(float_min), std::abs(float_max)); float_min = -float_max; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_TF_META("v", list_size, TF_ATTR_INT, -1); TF_OperationGetAttrIntList(oper, "v", values, list_size, s_); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_TRUE(std::equal(std::begin(list), std::end(list), std::begin(values))); } TEST_F(CApiAttributesTest, Float) { auto desc = init("float"); TF_SetAttrFloat(desc, "v", 2.718); auto oper = TF_FinishOperation(desc, s_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
Value external_output = std::get<0>(result); external_output.replaceUsesWithIf(std::get<1>(result), replace_output_usage); } } std::pair<std::string, std::string> MakeCommunicationKeys( ArrayRef<Operation*> clustered_ops, ArrayRef<Value> external_operands, int communication_key_index, Operation& op) { std::string args_communication_key =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
{ const std::vector<std::string>& device_names = ListDeviceNames(ctx_0); ASSERT_TRUE(std::find(device_names.begin(), device_names.end(), remote_device) != device_names.end()); } { const std::vector<std::string>& device_names = ListDeviceNames(ctx_1); ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
# include <tuple> // C++11 puts its tuple into the ::std namespace rather than // ::std::tr1. gtest expects tuple to live in ::std::tr1, so put it there. // This causes undefined behavior, but supported compilers react in // the way we intend. namespace std { namespace tr1 { using ::std::get; using ::std::make_tuple; using ::std::tuple; using ::std::tuple_element; using ::std::tuple_size; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 67.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
if (resized_tensor_list_index.count(i)) { updated_types->push_back( VariantToUnrankedTensorType(std::get<0>(it), std::get<1>(it))); } else { updated_types->push_back(std::get<2>(it).getType()); } } else { updated_types->push_back(std::get<0>(it)); } ++i; } } // Updates the tensorlist types to unranked tensor types based on the input
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
var subAST = map[byte]AST{ 't': &Name{Name: "std"}, 'a': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "allocator"}}, 'b': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "basic_string"}}, 's': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "string"}}, 'i': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "istream"}}, 'o': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "ostream"}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0)