Skip to content

Add (more) operator and conversion overloads to TFOutput #80

Open
@cesarsouza

Description

@cesarsouza

So we could write

TFOutput result = 2.0;
result += 42.0 * g.Abs(x)));

instead of

TFOutput result = g.Const(2.0);
result = g.Add(result, g.Mul(g.Const(42.0), g.Abs(x)));

In which g is of type TFGraph , and x of type TFOutput and both come from some where else in the graph/code.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions