Remove unused using-declarations
PiperOrigin-RevId: 175611524
This commit is contained in:
parent
21d830086e
commit
d44f37161d
@ -46,9 +46,6 @@ limitations under the License.
|
|||||||
namespace xla {
|
namespace xla {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using tensorflow::gtl::nullopt;
|
|
||||||
using tensorflow::gtl::optional;
|
|
||||||
|
|
||||||
// Returns whether operand is a literal with the given value.
|
// Returns whether operand is a literal with the given value.
|
||||||
bool IsLiteralWithValue(const HloInstruction* operand, int8 value) {
|
bool IsLiteralWithValue(const HloInstruction* operand, int8 value) {
|
||||||
return operand->opcode() == HloOpcode::kConstant &&
|
return operand->opcode() == HloOpcode::kConstant &&
|
||||||
|
@ -28,8 +28,6 @@ limitations under the License.
|
|||||||
namespace tflite {
|
namespace tflite {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using ::testing::ElementsAreArray;
|
|
||||||
|
|
||||||
class LSTMOpModel : public SingleOpModel {
|
class LSTMOpModel : public SingleOpModel {
|
||||||
public:
|
public:
|
||||||
LSTMOpModel(int n_batch, int n_input, int n_cell, int n_output, bool use_cifg,
|
LSTMOpModel(int n_batch, int n_input, int n_cell, int n_output, bool use_cifg,
|
||||||
|
@ -25,16 +25,13 @@ limitations under the License.
|
|||||||
|
|
||||||
namespace tensorflow {
|
namespace tensorflow {
|
||||||
namespace grappler {
|
namespace grappler {
|
||||||
|
namespace {
|
||||||
|
|
||||||
using shape_inference::Dimension;
|
|
||||||
using shape_inference::DimensionHandle;
|
using shape_inference::DimensionHandle;
|
||||||
using shape_inference::InferenceContext;
|
using shape_inference::InferenceContext;
|
||||||
using shape_inference::Shape;
|
|
||||||
using shape_inference::ShapeAndType;
|
using shape_inference::ShapeAndType;
|
||||||
using shape_inference::ShapeHandle;
|
using shape_inference::ShapeHandle;
|
||||||
|
|
||||||
namespace {
|
|
||||||
|
|
||||||
template <typename Handle>
|
template <typename Handle>
|
||||||
struct HashHandle {
|
struct HashHandle {
|
||||||
std::size_t operator()(const Handle& h) const { return h.Handle(); }
|
std::size_t operator()(const Handle& h) const { return h.Handle(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user