NAME

AI::TensorFlow::Libtensorflow::Graph - A TensorFlow computation, represented as a dataflow graph

SYNOPSIS

use aliased 'AI::TensorFlow::Libtensorflow::Graph' => 'Graph';

DESCRIPTION

CONSTRUCTORS

New

    New()

my $graph = Graph->New;
ok $graph, 'created graph';

Returns

TFGraph

An empty graph.

C API: TF_NewGraph

METHODS

ImportGraphDef

C API: TF_GraphImportGraphDef

ImportGraphDefWithResults

C API: TF_GraphImportGraphDefWithResults

ImportGraphDefWithReturnOutputs

C API: TF_GraphImportGraphDefWithReturnOutputs

OperationByName

C API: TF_GraphOperationByName

SetTensorShape

C API: TF_GraphSetTensorShape

GetTensorShape

C API: TF_GraphGetTensorShape

GetTensorNumDims

C API: TF_GraphGetTensorNumDims

NextOperation

C API: TF_GraphNextOperation

UpdateEdge

C API: TF_UpdateEdge

ToGraphDef

C API: TF_GraphToGraphDef

GetOpDef

C API: TF_GraphGetOpDef

DESTRUCTORS

DESTROY

C API: TF_DeleteGraph

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2022-2023 by Auto-Parallel Technologies, Inc.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004