Remove unused using declarations
PiperOrigin-RevId: 157513772
This commit is contained in:
parent
2249a4ea82
commit
da2daf068a
@ -71,7 +71,6 @@ using tensorflow::NodeBuilder;
|
||||
using tensorflow::OpDef;
|
||||
using tensorflow::OpRegistry;
|
||||
using tensorflow::PartialTensorShape;
|
||||
using tensorflow::Reset;
|
||||
using tensorflow::RunMetadata;
|
||||
using tensorflow::RunOptions;
|
||||
using tensorflow::Session;
|
||||
|
@ -31,7 +31,6 @@ namespace xla {
|
||||
namespace {
|
||||
|
||||
using ::testing::ElementsAre;
|
||||
using ::testing::ElementsAreArray;
|
||||
|
||||
class LiteralUtilTest : public ::testing::Test {
|
||||
protected:
|
||||
|
@ -107,7 +107,6 @@ using perftools::gputools::DeviceMemory;
|
||||
using perftools::gputools::DeviceMemoryBase;
|
||||
using perftools::gputools::ScratchAllocator;
|
||||
using perftools::gputools::port::StatusOr;
|
||||
using strings::Printf;
|
||||
|
||||
Status ParseRNNMode(const string& str, RnnMode* rnn_mode) {
|
||||
if (str == "rnn_relu") {
|
||||
|
@ -30,8 +30,6 @@ limitations under the License.
|
||||
namespace tensorflow {
|
||||
namespace ctc {
|
||||
|
||||
using strings::StrCat;
|
||||
|
||||
class CTCLossCalculator {
|
||||
// Connectionist Temporal Classification Loss
|
||||
//
|
||||
|
@ -26,9 +26,7 @@ namespace gputools {
|
||||
namespace port {
|
||||
|
||||
using tensorflow::Env;
|
||||
using tensorflow::ReadFileToString;
|
||||
using tensorflow::Thread;
|
||||
using tensorflow::WriteStringToFile;
|
||||
|
||||
inline Status FileExists(const string& filename) {
|
||||
return Env::Default()->FileExists(filename);
|
||||
|
@ -16,8 +16,6 @@ limitations under the License.
|
||||
#include "tensorflow/stream_executor/lib/path.h"
|
||||
#include "tensorflow/stream_executor/lib/strcat.h"
|
||||
|
||||
using ::perftools::gputools::port::StrAppend;
|
||||
|
||||
namespace perftools {
|
||||
namespace gputools {
|
||||
namespace port {
|
||||
|
@ -36,7 +36,6 @@ inline string StripSuffixString(port::StringPiece str, port::StringPiece suffix)
|
||||
}
|
||||
|
||||
using tensorflow::str_util::Lowercase;
|
||||
using tensorflow::str_util::Uppercase;
|
||||
|
||||
} // namespace port
|
||||
} // namespace gputools
|
||||
|
@ -24,7 +24,6 @@ namespace port {
|
||||
|
||||
using tensorflow::strings::Printf;
|
||||
using tensorflow::strings::Appendf;
|
||||
using tensorflow::strings::Appendv;
|
||||
|
||||
} // namespace port
|
||||
} // namespace gputools
|
||||
|
Loading…
x
Reference in New Issue
Block a user