This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import json | |
import sys | |
from tensorflow.python.client import timeline | |
from protobuf_to_dict import protobuf_to_dict | |
from google.protobuf.json_format import MessageToJson | |
from tensorflow.core.protobuf import rewriter_config_pb2 | |
from tensorflow.python.framework import graph_io | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"traceEvents": [ | |
{ | |
"ph": "M", | |
"args": { | |
"name": "Allocators" | |
}, | |
"pid": 0, | |
"name": "process_name" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Placeholder_2:0 | |
Placeholder_4:0 | |
Placeholder_6:0 | |
Placeholder_8:0 | |
Placeholder_10:0 | |
Placeholder_12:0 | |
Placeholder_14:0 | |
Placeholder_16:0 | |
Placeholder_3:0 | |
Placeholder_5:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"traceEvents": [ | |
{ | |
"ph": "M", | |
"args": { | |
"name": "Allocators" | |
}, | |
"pid": 0, | |
"name": "process_name" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import json | |
import sys | |
from tensorflow.python.client import timeline | |
from protobuf_to_dict import protobuf_to_dict | |
from google.protobuf.json_format import MessageToJson | |
from tensorflow.core.protobuf import rewriter_config_pb2 | |
from tensorflow.python.framework import graph_io | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import json | |
import sys | |
from tensorflow.python.client import timeline | |
from protobuf_to_dict import protobuf_to_dict | |
from google.protobuf.json_format import MessageToJson | |
from tensorflow.core.protobuf import rewriter_config_pb2 | |
dim = 16384 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
dim = 32 | |
X1 = tf.random_uniform([dim, dim], 0, 10) | |
_X1 = tf.placeholder(dtype=tf.float32, shape=[dim, dim]) | |
X2 = tf.random_uniform([dim, dim], 0, 10) | |
_X2 = tf.placeholder(dtype=tf.float32, shape=[dim, dim]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"devStats": [ | |
{ | |
"device": "/job:localhost/replica:0/task:0/device:CPU:0", | |
"nodeStats": [ | |
{ | |
"allStartMicros": "1536530947156331", | |
"opStartRelMicros": "2", | |
"timelineLabel": "_SOURCE = NoOp()", | |
"nodeName": "_SOURCE", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"traceEvents": [ | |
{ | |
"ph": "M", | |
"args": { | |
"name": "Allocators" | |
}, | |
"pid": 0, | |
"name": "process_name" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2015 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, |
NewerOlder