This interface defines virtual methods for each of the user-facing overload sets in TpuClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TpuClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["This webpage provides documentation for the `TpuConnection` class within the Google Cloud TPU C++ library, with the latest version being 2.37.0-rc and the current version being 2.22.1."],["The `TpuConnection` class defines the interface for interacting with `TpuClient` and allows custom behavior injection for testing."],["Users can create instances of `TpuConnection` using `MakeTpuConnection()`, and a mock version (`MockTpuConnection`) is available for testing."],["The `TpuConnection` class includes a variety of virtual functions for operations such as listing, getting, creating, deleting, reimaging, stopping, and starting nodes, as well as managing TensorFlow versions and accelerator types."],["This page also lists previous versions of the `TpuConnection` documentation for reference, spanning from 2.36.0 all the way down to version 2.11.0."]]],[]]