- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Simple (0.17 sec)
-
tensorflow/c/c_api.cc
TF_RETURN_IF_ERROR(CopyGraph( ¶ms->cond_graph->graph, &parent->graph, &parent->refiner, params->cond_inputs, inputs, scope.impl()->name(), scope.impl()->control_deps(), ¶ms->cond_output, /* nreturn_nodes */ 1, &cond_output)); *output = cond_output[0]; return absl::OkStatus(); };
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ // A simple logging device to test custom device registration. #include <memory> #include "absl/strings/match.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ // A simple logging device to test custom device registration. #include <memory> #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); TFE_DeleteContextOptions(opts); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); /* Want to test simple MatMul example: [[0,0], * [[0,0], = [[0,0], [0,0]] [0,0]] [0,0]] */ // Build an abstract input tensor. int64_t dims[] = {2, 2}; // Matrices will be 2 x 2
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} // Set server_def on the context, possibly updating it. // TODO(b/291142876) Simplify TFE_ContextSetServerDefWithTimeoutAndRetries and // TFE_ContextUpdateServerDefWithTimeout to be simple wrappers around the same // C++ function. // Retries are used for CreateContext calls, which is used in // ParameterServerStrategy initialization to be robust to worker preemption.
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/eager/c_api_experimental_test.cc
TFE_ContextSetExecutorForThread(ctx, executor); TFE_DeleteExecutor(executor); TFE_DeleteContext(ctx); } TF_DeleteStatus(status); } TEST(CAPI, Function_ident_CPU) { // First create a simple identity function. TF_Graph* function_graph = TF_NewGraph(); TF_OperationDescription* arg_descr = TF_NewOperation(function_graph, "Placeholder", "arg"); TF_SetAttrType(arg_descr, "dtype", TF_INT32);
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/modular_filesystem_registration.cc
return OkStatus(); } // Checks if the plugin and core ABI numbers match, for all operations. // // If the numbers don't match, plugin cannot be loaded. // // Uses the simpler `CheckABI(int, int, StringPiece)`. static Status ValidateABI(const TF_FilesystemPluginOps* ops) { TF_RETURN_IF_ERROR( CheckABI(ops->filesystem_ops_abi, TF_FILESYSTEM_OPS_ABI, "filesystem"));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_DeleteGraph(g1); TF_DeleteGraph(g2); TF_DeleteStatus(s); } */ TEST(CAPI, ImportGraphDef) { TF_Status* s = TF_NewStatus(); TF_Graph* graph = TF_NewGraph(); // Create a simple graph. Placeholder(graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); ASSERT_TRUE(TF_GraphOperationByName(graph, "feed") != nullptr); TF_Operation* oper = ScalarConst(3, graph, s);
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)