Searched refs:topology (Results 1 - 25 of 134) sorted by relevance

123456

/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
H A D__init__.py15 """The Keras Engine: graph topology and training loop functionality.
21 from tensorflow.python.keras._impl.keras.engine.topology import get_source_inputs
22 from tensorflow.python.keras._impl.keras.engine.topology import Input
23 from tensorflow.python.keras._impl.keras.engine.topology import InputLayer
24 from tensorflow.python.keras._impl.keras.engine.topology import InputSpec
25 from tensorflow.python.keras._impl.keras.engine.topology import Layer
29 # Note: topology.Node is an internal class,
/external/valgrind/none/tests/s390x/
H A Decag.c19 get_level_info(uint64_t topology, unsigned level) argument
21 return (topology >> (56 - level * 8)) & 0xff;
28 uint64_t topology; local
30 topology = ecag(0, 0, 0); // get summary
35 unsigned info = get_level_info(topology, level);
57 printf("L%u topology: %s; %s\n", level+1, type, scope);
/external/trappy/tests/
H A Dtest_stats.py35 topology = Topology()
36 topology.add_to_level(level, level_groups)
37 check_groups = topology.get_level(level)
39 self.assertTrue(topology.has_level(level))
47 topology = Topology()
48 topology.add_to_level(level, level_groups)
51 self.assertEqual(flattened, topology.flatten())
59 topology = Topology(clusters=clusters)
63 self.assertTrue(topology.has_level("cluster"))
64 self.assertEqual(cluster_groups, topology
[all...]
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
H A Ddevice_assignment.py25 from tensorflow.contrib.tpu.python.tpu.topology import Topology
45 """Mapping from logical cores in a computation to the physical TPU topology.
52 def __init__(self, topology, core_assignment):
56 topology: A `Topology` object that describes the physical TPU topology.
62 ValueError: If `topology` is not `Topology` object.
65 if not isinstance(topology, Topology):
66 raise ValueError("topology must be a Topology object, got {}".format(
67 type(topology)))
70 self._topology = topology
134 def topology(self): member in class:DeviceAssignment
[all...]
H A Dtpu_system_metadata.py43 'topology',
99 topology = None
108 topology = _obtain_topology(master_address, run_config)
114 topology=topology,
131 logging.info('Initializing TPU system (master: %s) to fetch topology '
139 topology = sess.run(tpu.initialize_system())
140 return topology
/external/trappy/tests/trappy/stats/
H A DAggregator.py89 def __init__(self, triggers, topology, aggfunc=None):
94 :param topology (trappy.stat.Topology): A topology object for aggregation
96 :type topology: :mod:`trappy.stat.Topology`
99 For each topology node, a series will be generated and this
104 self.topology = topology
131 level_groups = self.topology.get_level(level)
159 for each node in the flattened topology
170 for node in self.topology
[all...]
/external/trappy/trappy/stats/
H A DAggregator.py89 def __init__(self, triggers, topology, aggfunc=None):
94 :param topology (trappy.stat.Topology): A topology object for aggregation
96 :type topology: :mod:`trappy.stat.Topology`
99 For each topology node, a series will be generated and this
104 self.topology = topology
131 level_groups = self.topology.get_level(level)
159 for each node in the flattened topology
170 for node in self.topology
[all...]
/external/mesa3d/src/gallium/drivers/ilo/core/
H A Dilo_builder_3d.h39 enum gen_3dprim_type topology; member in struct:gen6_3dprimitive_info
61 info->topology << GEN6_3DPRIM_DW0_TYPE__SHIFT;
85 dw[1] = info->topology << GEN7_3DPRIM_DW1_TYPE__SHIFT;
/external/bart/tests/
H A Dtest_sched_assert.py35 self.topology = Topology(clusters=self.clusters)
51 s = SchedAssert(r, self.topology, execname=process)
77 sa = SchedAssert("trace.dat", self.topology, execname="ls")
86 self.topology = Topology(clusters=self.clusters)
101 sma = SchedMultiAssert(tr, self.topology, pids=pids)
/external/tensorflow/tensorflow/contrib/tpu/
H A D__init__.py57 from tensorflow.contrib.tpu.python.tpu.topology import *
/external/tensorflow/tensorflow/python/keras/_impl/keras/
H A Dmodels.py32 from tensorflow.python.keras._impl.keras.engine import topology namespace
33 from tensorflow.python.keras._impl.keras.engine.topology import Input
34 from tensorflow.python.keras._impl.keras.engine.topology import InputLayer
35 from tensorflow.python.keras._impl.keras.engine.topology import Layer
36 from tensorflow.python.keras._impl.keras.engine.topology import TFBaseLayer
62 - the model's configuration (topology)
139 topology.save_weights_to_hdf5_group(model_weights_group, model_layers)
252 topology.load_weights_from_hdf5_group(f['model_weights'], model.layers)
509 self.inputs = topology.get_source_inputs(self.outputs[0])
513 topology
[all...]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp79 virtual void createBufferData (VkPrimitiveTopology topology,
102 virtual void createBufferData (VkPrimitiveTopology topology,
122 virtual void createBufferData (VkPrimitiveTopology topology,
286 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const argument
304 switch (topology)
340 switch (topology)
640 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const argument
659 switch (topology)
681 switch (topology)
1144 m_primitiveTopology, // VkPrimitiveTopology topology;
1462 const rr::PrimitiveType topology = mapVkPrimitiveTopology(m_primitiveTopology); local
1540 getPrimitiveTopologyCaseName(VkPrimitiveTopology topology) argument
1555 const VkPrimitiveTopology topology = InputAssemblyTest::s_primitiveTopologies[topologyNdx]; local
1584 const VkPrimitiveTopology topology = primitiveRestartTopologies[topologyNdx]; local
[all...]
H A DvktPipelineMultisampleTests.cpp115 VkPrimitiveTopology topology,
138 VkPrimitiveTopology topology,
162 VkPrimitiveTopology topology,
184 VkPrimitiveTopology topology,
204 VkPrimitiveTopology topology,
226 VkPrimitiveTopology topology,
244 const VkPrimitiveTopology topology,
339 VkPrimitiveTopology topology,
364 VkPrimitiveTopology topology,
388 VkPrimitiveTopology topology,
847 createMultisampleTestInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& colorBlendState) const argument
874 createMultisampleTestInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& colorBlendState) const argument
914 createMultisampleTestInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& colorBlendState) const argument
952 createMultisampleTestInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& colorBlendState) const argument
1010 createMultisampleTestInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& colorBlendState) const argument
1039 RasterizationSamplesInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& blendState, const TestModeFlags modeFlags) argument
1142 MinSampleShadingInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& colorBlendState) argument
1270 SampleMaskInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& blendState) argument
1425 AlphaToOneInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& blendState) argument
1494 AlphaToCoverageInstance(Context& context, VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& blendState, GeometryType geometryType) argument
1565 MultisampleRenderer(Context& context, const VkFormat colorFormat, const tcu::IVec2& renderSize, const VkPrimitiveTopology topology, const std::vector<Vertex4RGBA>& vertices, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& blendState, const RenderType renderType) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawTestCaseUtil.hpp65 vk::VkPrimitiveTopology topology; member in struct:vkt::Draw::TestSpecBase
H A DvktBasicDrawTests.cpp104 vk::VkPrimitiveTopology topology; member in struct:vkt::Draw::__anon4305::DrawParamsBase
110 : topology (top)
252 inline bool imageCompare (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& reference, const tcu::ConstPixelBufferAccess& result, const vk::VkPrimitiveTopology topology) argument
254 if (topology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST)
325 (m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY ||
326 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY ||
327 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY ||
328 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY)
455 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_data.topology));
517 rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint3
1188 const vk::VkPrimitiveTopology topology; member in struct:vkt::Draw::__anon4305::TestCaseParams
1203 const vk::VkPrimitiveTopology topology = caseParams.topology; local
1286 const vk::VkPrimitiveTopology topology = vk::VkPrimitiveTopology(idx); local
[all...]
H A DvktDrawBaseClass.hpp108 DrawTestsBaseClass (Context& context, const char* vertexShaderName, const char* fragmentShaderName, vk::VkPrimitiveTopology topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP);
H A DvktDrawIndexedTest.cpp71 : DrawTestsBaseClass(context, testSpec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology)
109 DE_FATAL("Unknown topology");
286 DE_FATAL("Unknown topology");
371 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
373 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
381 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
383 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
H A DvktDrawSimpleTest.cpp63 : DrawTestsBaseClass(context, testSpec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology)
100 DE_FATAL("Unknown topology");
143 DE_FATAL("Unknown topology");
249 DE_FATAL("Unknown topology");
335 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
337 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
345 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
347 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Dapi.cpp841 switch (pState->state.topology)
989 /// @param topology - Topology used for draw
993 PRIMITIVE_TOPOLOGY topology)
1004 switch (topology)
1045 uint32_t vertsPerPrim = topology - TOP_PATCHLIST_BASE;
1067 /// @param topology - Specifies topology for draw.
1074 PRIMITIVE_TOPOLOGY topology,
1089 AR_API_EVENT(DrawInstancedEvent(pDC->drawId, topology, numVertices, startVertex, numInstances, startInstance));
1091 uint32_t maxVertsPerDraw = MaxVertsPerDraw(pDC, numVertices, topology);
[all...]
H A Dapi.h452 /// @param topology - Specifies topology for draw.
457 PRIMITIVE_TOPOLOGY topology,
464 /// @param topology - Specifies topology for draw.
471 PRIMITIVE_TOPOLOGY topology,
480 /// @param topology - Specifies topology for draw.
486 PRIMITIVE_TOPOLOGY topology,
494 /// @param topology
[all...]
/external/bart/bart/sched/
H A DSchedMatrix.py93 :param topology: A topology that describes the arrangement of
97 :type topology: :mod:`trappy.stats.Topology.Topology`
136 SchedMatrix(r_trace, trace, topology,
142 SchedMatrix(r_trace, trace, topology,
151 topology,
162 self._topology = topology
H A DSchedMultiAssert.py34 :param topology: A topology that describes the arrangement of
38 :type topology: :mod:`trappy.stats.Topology.Topology`
67 SchedMultiAssert(ftrace, topology, execnames="task_")
72 SchedMultiAssert(ftrace, topology, execnames=["task_1", "task_2", "task_3"])
77 SchedMultiAssert(ftrace, topology, pids=[11, 22, 33])
86 >>> s = SchedMultiAssert(ftrace, topology, execnames="task_")
107 >>> s = SchedMultiAssert(ftrace, topology, execnames="task_")
130 >>> s = SchedMultiAssert(ftrace, topology, execnames="task_")
138 def __init__(self, ftrace, topology, execname
[all...]
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktDrawUtil.hpp45 vk::VkPrimitiveTopology topology; member in struct:vkt::drawutil::DrawState
181 std::string getPrimitiveTopologyShortName (const vk::VkPrimitiveTopology topology);
/external/lisa/libs/utils/
H A Dtest.py140 self.get_trace(experiment).ftrace, self.te.topology, execname=task)
152 self.te.topology,
200 sched_assert = SchedAssert(ftrace, self.te.topology, execname=task)
/external/deqp/external/vulkancts/modules/vulkan/clipping/
H A DvktClippingTests.cpp115 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float slope) argument
126 switch (topology)
347 void initPrograms (SourceCollections& programCollection, const VkPrimitiveTopology topology) argument
349 const float pointSize = (topology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST ? 1.0f : 0.0f);
365 tcu::TestStatus testPrimitivesInside (Context& context, const VkPrimitiveTopology topology) argument
369 switch (topology)
420 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 0.0f);
421 DrawState drawState (topology, RENDER_SIZE, RENDER_SIZE);
437 tcu::TestStatus testPrimitivesOutside (Context& context, const VkPrimitiveTopology topology) argument
462 const std::vector<Vec4> vertices = genVertices(topology, Vec
480 testPrimitivesDepthClamp(Context& context, const VkPrimitiveTopology topology) argument
720 const VkPrimitiveTopology topology; member in struct:vkt::clipping::__anon4294::ClipDistance::CaseDefinition
1291 const VkPrimitiveTopology topology = (useTessellation ? VK_PRIMITIVE_TOPOLOGY_PATCH_LIST : VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST); local
[all...]

Completed in 3569 milliseconds

123456