Home | History | Annotate | Download | only in tensorflow
      1 /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
      2 
      3 Licensed under the Apache License, Version 2.0 (the "License");
      4 you may not use this file except in compliance with the License.
      5 You may obtain a copy of the License at
      6 
      7     http://www.apache.org/licenses/LICENSE-2.0
      8 
      9 Unless required by applicable law or agreed to in writing, software
     10 distributed under the License is distributed on an "AS IS" BASIS,
     11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 See the License for the specific language governing permissions and
     13 limitations under the License.
     14 ==============================================================================*/
     15 
     16 /**
     17  * Defines classes to build, save, load and execute TensorFlow models.
     18  *
     19  * <p><b>WARNING</b>: The API is currently experimental and is not covered by TensorFlow <a
     20  * href="https://www.tensorflow.org/programmers_guide/version_semantics">API stability
     21  * guarantees</a>. See <a
     22  * href="https://www.tensorflow.org/code/tensorflow/java/README.md">README.md</a> for installation
     23  * instructions.
     24  *
     25  * <p>The <a
     26  * href="https://www.tensorflow.org/code/tensorflow/java/src/main/java/org/tensorflow/examples/LabelImage.java">LabelImage</a>
     27  * example demonstrates use of this API to classify images using a pre-trained <a
     28  * href="http://arxiv.org/abs/1512.00567">Inception</a> architecture convolutional neural network.
     29  * It demonstrates:
     30  *
     31  * <ul>
     32  *   <li>Graph construction: using the OperationBuilder class to construct a graph to decode, resize
     33  *       and normalize a JPEG image.
     34  *   <li>Model loading: Using Graph.importGraphDef() to load a pre-trained Inception model.
     35  *   <li>Graph execution: Using a Session to execute the graphs and find the best label for an
     36  *       image.
     37  * </ul>
     38  *
     39  * <p>Additional examples can be found in the <a
     40  * href="https://github.com/tensorflow/models/tree/master/samples/languages/java">tensorflow/models</a>
     41  * GitHub repository.
     42  */
     43 package org.tensorflow;
     44