code: public void registerGraph(long graphId, @NonNull SameDiff graph, ExecutorConfiguration configuration) {
          val g = graph.asFlatGraph(graphId, configuration);
          val v = blockingStub.registerGraph(g);
          if (v.status() != 0)
              throw new ND4JIllegalStateException("registerGraph() gRPC call failed");
      }
docs: This method adds given graph to the GraphServer storage
  
  PLEASE NOTE: You don't need to register graph more then once
  PLEASE NOTE: You don't need to register graph if GraphServer was used with -f argument
  @param graphId id of the graph, if not 0 - should be used in subsequent output() requests
  @param graph