@@ -0,0 +1,2282 @@
+package com.reactlibrary;%0A%0Aimport com.facebook.react.bridge.Promise;%0Aimport com.facebook.react.bridge.ReactApplicationContext;%0Aimport com.facebook.react.bridge.ReactContextBaseJavaModule;%0Aimport com.facebook.react.bridge.ReactMethod;%0Aimport org.tensorflow.Operation;%0A%0Apublic class RNTensorflowGraphOperationsModule extends ReactContextBaseJavaModule %7B%0A%0A    private Operation graphOperation;%0A%0A    public RNTensorflowGraphOperationsModule(ReactApplicationContext reactContext) %7B%0A        super(reactContext);%0A    %7D%0A%0A    @Override%0A    public String getName() %7B%0A        return %22TensorflorGraphOperation%22;%0A    %7D%0A%0A    @ReactMethod%0A    public void init(Operation graphOperation) %7B%0A        this.graphOperation = graphOperation;%0A    %7D%0A%0A    @ReactMethod%0A    public void inputListLength(String s, Promise promise) %7B%0A        try %7B%0A            promise.resolve(graphOperation.inputListLength(s));%0A        %7D catch (Exception e) %7B%0A            promise.reject(e);%0A        %7D%0A    %7D%0A%0A    @ReactMethod%0A    public void name(Promise promise) %7B%0A        try %7B%0A            promise.resolve(graphOperation.name());%0A        %7D catch (Exception e) %7B%0A            promise.reject(e);%0A        %7D%0A    %7D%0A%0A    @ReactMethod%0A    public void numOutputs(Promise promise) %7B%0A        try %7B%0A            promise.resolve(graphOperation.numOutputs());%0A        %7D catch (Exception e) %7B%0A            promise.reject(e);%0A        %7D%0A    %7D%0A%0A    @ReactMethod%0A    public void output(int output, Promise promise) %7B%0A        try %7B%0A            promise.resolve(graphOperation.output(output));%0A        %7D catch (Exception e) %7B%0A            promise.reject(e);%0A        %7D%0A    %7D%0A%0A    @ReactMethod%0A    public void outputList(int i, int ii, Promise promise) %7B%0A        try %7B%0A            promise.resolve(graphOperation.outputList(i, ii));%0A        %7D catch (Exception e) %7B%0A            promise.reject(e);%0A        %7D%0A    %7D%0A%0A    @ReactMethod%0A    public void outputListLength(String s, Promise promise) %7B%0A        try %7B%0A            promise.resolve(graphOperation.outputListLength(s));%0A        %7D catch (Exception e) %7B%0A            promise.reject(e);%0A        %7D%0A    %7D%0A%0A    @ReactMethod%0A    public void type(Promise promise) %7B%0A        try %7B%0A            promise.resolve(graphOperation.type());%0A        %7D catch (Exception e) %7B%0A            promise.reject(e);%0A        %7D%0A    %7D%0A%7D%0A

Implement first draft for graph operations