Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

StringTensor behavior  #766

@maksymsur

Description

@maksymsur

Both StringTensor.array & StringTensor.scalars produce errors in Colab

import TensorFlow

var str = StringTensor("test")

print(str)
// StringTensor(handle: TensorFlow.TensorHandle<Swift.String>(handle: TensorFlow.TFETensorHandle))

str.array
// expression produced error: error: Execution was interrupted, reason: signal SIGSEGV: invalid address (fault address: 0x7473657408). The process has been returned to the state before expression evaluation.

str.scalars
// Current stack trace:   frame #19: 0x00007f0a40d561a2 $__lldb_expr353`main at <Cell 51>:6:5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions