740a50efc55d175bd95e605d7fc1e037ca640b9b,tensorflowonspark/pipeline.py,,_run_model,#Any#Any#Any#,483

Before Change


  // get list of input/output tensors (by name)
  if args.signature_def_key:
    input_tensors = [inputs_tensor_info[t].name for t in input_tensor_names]
    output_tensors = [outputs_tensor_info[t].name for t in output_tensor_names]
  else:
    input_tensors = [t + ":0" for t in input_tensor_names]
    output_tensors = [t + ":0" for t in output_tensor_names]

After Change


  
  single_node_env(tf_args)

  tf.compat.v1.disable_eager_execution()

  logging.info("===== input_mapping: {}".format(args.input_mapping))
  logging.info("===== output_mapping: {}".format(args.output_mapping))
  input_tensor_names = [tensor for col, tensor in sorted(args.input_mapping.items())]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 740a50efc55d175bd95e605d7fc1e037ca640b9b
Time: 2019-07-25
Author: leewyang@verizonmedia.com
File Name: tensorflowonspark/pipeline.py
Class Name:
Method Name: _run_model


Project Name: michaelhush/M-LOOP
Commit Name: 4667268fbcfc427a0a1436fb03e2c1d2c31b8020
Time: 2021-01-12
Author: harry.slatyer@gmail.com
File Name: mloop/neuralnet.py
Class Name:
Method Name:


Project Name: tensorflow/tcav
Commit Name: 8d993e63e49c0c70053b29f4ab3c1143c34fb85a
Time: 2021-02-23
Author: jwexler@google.com
File Name: tcav/model_test.py
Class Name:
Method Name: