Yes I tried that too.
In the latest master branch the parameter is called --xla_dump_to

  

      github.com
  

  
    tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc 1


    /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/

#include "tensorflow/compiler/xla/service/cpu/cpu_compiler.h"

#include <stddef.h>
#include <string.h>




  This file has been truncated. show original

  

  
    
    
  

  


But it did not work. However I am not sure if I am passing the parameter correctly. What I did was this
bazel build --show_progress_rate_limit=100 --xla_dump_to='mypath' @org_tensorflow//:graph
But the option is unrecognized [ERROR]
Maybe is just that that is not the correct way to pass that option (certainly looks like that). But I do not know how pass the parameter. Do you have any idea?
Thanks again for your help!