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

View source on GitHub
tf.compat.v1.flags.tf_decorator.tf_stack.StackSummary()

Methods

__bool__

__bool__()

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

Check whether the list is nonempty

__contains__

__contains__()

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

Return true the container contains x

__eq__

__eq__()

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

__getitem__

__getitem__()

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

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

Retrieve list elements using a slice object

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

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

__iter__

__iter__()

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

__len__

__len__()

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

__ne__

__ne__()

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

append

append()

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

Add an item to the end of the list

count

count()

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

Return the number of times x appears in the list

extend

extend()

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

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

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

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

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

insert

insert()

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

Insert an item at a given position.

pop

pop()

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

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

Remove and return the last item

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

Remove and return the item at index i

remove

remove()

remove(self: tensorflow_core.python._tf_stack.StackSummary, x: tensorflow_core.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.