tf.compat.v1.flags.tf_decorator.tf_stack.StackSummary

View source on GitHub

Methods

append

append(self: tensorflow.python._tf_stack.StackSummary, x: tensorflow.python._tf_stack.FrameSummary) -> None

Add an item to the end of the list

count

count(self: tensorflow.python._tf_stack.StackSummary, x: tensorflow.python._tf_stack.FrameSummary) -> int

Return the number of times x appears in the list

extend

extend(*args, **kwargs) Overloaded function.

  1. extend(self: tensorflow.python._tf_stack.StackSummary, L: tensorflow.python._tf_stack.StackSummary) -> None

Extend the list by appending all the items in the given list

  1. extend(self: tensorflow.python._tf_stack.StackSummary, L: iterable) -> None

Extend the list by appending all the items in the given list

insert

insert(self: tensorflow.python._tf_stack.StackSummary, i: int, x: tensorflow.python._tf_stack.FrameSummary) -> None

Insert an item at a given position.

pop

pop(*args, **kwargs) Overloaded function.

  1. pop(self: tensorflow.python._tf_stack.StackSummary) -> tensorflow.python._tf_stack.FrameSummary

Remove and return the last item

  1. pop(self: tensorflow.python._tf_stack.StackSummary, i: int) -> tensorflow.python._tf_stack.FrameSummary

Remove and return the item at index i

remove

remove(self: tensorflow.python._tf_stack.StackSummary, x: tensorflow.python._tf_stack.FrameSummary) -> None

Remove the first item from the list whose value is x. It is an error if there is no such item.

__bool__

bool(self: tensorflow.python._tf_stack.StackSummary) -> bool

Check whether the list is nonempty

__contains__

contains(self: tensorflow.python._tf_stack.StackSummary, x: tensorflow.python._tf_stack.FrameSummary) -> bool

Return true the container contains x

__eq__

eq(self: tensorflow.python._tf_stack.StackSummary, arg0: tensorflow.python._tf_stack.StackSummary) -> bool

__getitem__

getitem(*args, **kwargs) Overloaded function.

  1. getitem(self: tensorflow.python._tf_stack.StackSummary, s: slice) -> tensorflow.python._tf_stack.StackSummary

Retrieve list elements using a slice object

  1. getitem(self: tensorflow.python._tf_stack.StackSummary, arg0: int) -> tensorflow.python._tf_stack.FrameSummary

  2. getitem(self: tensorflow.python._tf_stack.StackSummary, arg0: int) -> tensorflow.python._tf_stack.FrameSummary

__iter__

iter(self: tensorflow.python._tf_stack.StackSummary) -> iterator

__len__

len(self: tensorflow.python._tf_stack.StackSummary) -> int

__ne__

ne(self: tensorflow.python._tf_stack.StackSummary, arg0: tensorflow.python._tf_stack.StackSummary) -> bool