class_docstr: Test cases for ftrl ops.
code: def setUp(self):
      super().setUp()
      self.rewrite_ops_for_tpu = (
          "TPU" in self.device and test_util.is_mlir_bridge_enabled()
      )
  
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_training_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the ResourceApplyFtrlTest obj's underlying member method code with example usage: obj.setUp() without return types