- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for arg1_data (0.55 sec)
-
tensorflow/compiler/aot/tests/tfcompile_test.cc
TEST(TFCompileTest, Add) { AddComp add; EXPECT_EQ(add.arg0_data(), add.arg_data(0)); EXPECT_EQ(add.arg1_data(), add.arg_data(1)); add.arg0() = 1; add.arg1() = 2; EXPECT_TRUE(add.Run()); EXPECT_EQ(add.error_msg(), ""); EXPECT_EQ(add.result0(), 3); EXPECT_EQ(add.result0_data()[0], 3); EXPECT_EQ(add.result0_data(), add.results()[0]); add.arg0_data()[0] = 123; add.arg1_data()[0] = 456; EXPECT_TRUE(add.Run());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 26.4K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test_h.golden
set_arg_data(1, data); } int64_t* arg1_data() { return static_cast<int64_t*>(arg_data(1)); } int64_t& arg1(size_t dim0, size_t dim1) { return (*static_cast<int64_t(*)[3][4]>( arg_data(1)))[dim0][dim1]; } const int64_t* arg1_data() const { return static_cast<const int64_t*>(arg_data(1)); } const int64_t& arg1(size_t dim0, size_t dim1) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 16.6K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen.cc
} {{TYPE}}* arg{{NAME}}_data() { return static_cast<{{TYPE}}*>(arg_data({{I}})); } {{TYPE}}& arg{{NAME}}({{DIM_VARS}}) { return (*static_cast<{{TYPE}}(*){{DIM_SIZES}}>( arg_data({{I}}))){{INDICES}}; } const {{TYPE}}* arg{{NAME}}_data() const { return static_cast<const {{TYPE}}*>(arg_data({{I}})); } const {{TYPE}}& arg{{NAME}}({{DIM_VARS}}) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
tensorflow/compiler/aot/test_google.cc
// clang-format on namespace tensorflow { namespace tfcompile { namespace { void zero_buffers(XlaCompiledCpuFunction* computation) { for (int i = 0; i < computation->num_args(); ++i) { memset(computation->arg_data(i), 0, computation->arg_size(i)); } } // Trivial test that runs the generated function to ensure it doesn't crash. TEST(TEST_NAME, NoCrash) { Eigen::ThreadPool pool(port::MaxParallelism());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/aot/test.cc
// clang-format on namespace tensorflow { namespace tfcompile { namespace { void zero_buffers(XlaCompiledCpuFunction* computation) { for (int i = 0; i < computation->num_args(); ++i) { memset(computation->arg_data(i), 0, computation->arg_size(i)); } } // Trivial test that runs the generated function to ensure it doesn't crash. TEST(TEST_NAME, NoCrash) { Eigen::ThreadPool pool(port::MaxParallelism());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
instantHistogramsByTitle.set(eventName,argsToHistograms);}...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)