(contained_types)
| 10413 | return this.containedTypes()[i]; |
| 10414 | } |
| 10415 | withContained(contained_types) { |
| 10416 | const current_contained = this.containedTypes(); |
| 10417 | torch._C.TORCH_INTERNAL_ASSERT(current_contained.length > 0 && current_contained.length === contained_types.length); |
| 10418 | if (current_contained.length === contained_types.length && current_contained.every((x, index) => x === contained_types[index])) { |
| 10419 | return this; |
| 10420 | } |
| 10421 | return this.createWithContained(contained_types); |
| 10422 | } |
| 10423 | createWithContained(/* createWithContained */) { |
| 10424 | throw new python.Error('Not implemented.'); |
| 10425 | } |
no test coverage detected