Home
last modified time | relevance | path

Searched refs:tensor_slicing (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/python/debug/cli/
H A Dcommand_parser.py162 tensor_slicing = in_str[in_str.index("["):]
165 tensor_slicing = ""
167 return tensor_name, tensor_slicing
467 def evaluate_tensor_slice(tensor, tensor_slicing): argument
484 if not validate_slicing_string(tensor_slicing):
487 return tensor[_parse_slices(tensor_slicing)]
H A Dcli_shared.py149 tensor_slicing=None, argument
180 if tensor_slicing:
182 value = command_parser.evaluate_tensor_slice(tensor, tensor_slicing)
183 sliced_name = tensor_name + tensor_slicing
H A Dcommand_parser_test.py208 tensor_slicing) = command_parser.parse_tensor_name_with_slicing(
212 self.assertEqual("", tensor_slicing)
216 tensor_slicing) = command_parser.parse_tensor_name_with_slicing(
220 self.assertEqual("[:, 1]", tensor_slicing)
H A Danalyzer_cli.py929 tensor_name, tensor_slicing = (
993 tensor_slicing=tensor_slicing,
1041 tensor_slicing=tensor_slicing,
/aosp_15_r20/external/tensorflow/tensorflow/python/debug/wrappers/
H A Dlocal_cli_wrapper.py492 tensor_name, tensor_slicing = (
514 tensor_slicing=tensor_slicing,