/external/tensorflow/tensorflow/contrib/losses/python/metric_learning/ |
D | metric_loss_ops_test.py | 52 num_data = feature.shape[0] 53 pairwise_distances = np.zeros((num_data, num_data)) 54 pairwise_distances[np.triu_indices(num_data, 1)] = upper_tri_pdists 65 num_data = 10 69 embeddings_anchor = np.random.rand(num_data, feat_dim).astype(np.float32) 70 embeddings_positive = np.random.rand(num_data, feat_dim).astype( 72 labels = np.random.randint(0, 2, size=(num_data,)).astype(np.float32) 94 num_data = 10 99 embedding = np.random.rand(num_data, feat_dim).astype(np.float32) 101 0, num_classes, size=(num_data)).astype(np.float32) [all …]
|
D | metric_loss_ops.py | 78 num_data = array_ops.shape(feature)[0] 81 array_ops.ones([num_data]))
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
D | reinterpret_string_to_float_op.cc | 64 const int32 num_data = static_cast<int32>(input_data.NumElements()); in Compute() local 68 Evaluate(input_data, *output_data, 0, num_data); in Compute() 70 auto work = [&input_data, output_data, num_data](int64 start, int64 end) { in Compute() 72 CHECK(end <= num_data); in Compute() 76 Shard(num_threads, worker_threads->workers, num_data, 100, work); in Compute()
|
D | model_ops.cc | 191 const int num_data = data_set->NumItems(); in Compute() local 196 output_shape.AddDim(num_data); in Compute() 203 param_proto_.inference_tree_paths() ? num_data : 0); in Compute() 208 auto traverse = [this, &out, &data_set, decision_tree_resource, num_data, in Compute() 211 CHECK(end <= num_data); in Compute() 219 Shard(num_threads, worker_threads->workers, num_data, costPerTraverse, in Compute() 224 output_paths_shape.AddDim(param_proto_.inference_tree_paths() ? num_data in Compute() 292 const int num_data = data_set->NumItems(); in Compute() local 296 output_shape.AddDim(num_data); in Compute() 308 num_data](int64 start, int64 end) { in Compute() [all …]
|
D | stats_ops.cc | 266 const int32 num_data = data_set->NumItems(); in Compute() local 279 for (int i = 0; i < num_data; ++i) { in Compute() 283 for (int i = 0; i < num_data; ++i) { in Compute() 312 num_data](int64 start, int64 end) { in Compute() 314 CHECK(end <= num_data); in Compute() 336 Shard(num_threads, worker_threads->workers, num_data, costPerUpdate, in Compute()
|
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/core/ops/ |
D | stochastic_hard_routing_function_op.cc | 121 const int32 num_data = static_cast<int32>(input_data.shape().dim_size(0)); in Compute() local 129 output_probability_shape.AddDim(num_data); in Compute() 134 output_path_shape.AddDim(num_data); in Compute() 149 for (int i = 0; i < num_data; i++) { in Compute() 164 CHECK_LT(i, num_data); in Compute() 172 CHECK_LT(i, num_data); in Compute()
|
D | unpack_path_op.cc | 74 const int32 num_data = static_cast<int32>(path_tensor.shape().dim_size(0)); in Compute() local 80 VLOG(1) << "num_data: " << num_data; in Compute() 86 output_shape.AddDim(num_data); in Compute() 99 for (int i = 0; i < num_data; i++) { in Compute()
|
D | stochastic_hard_routing_gradient_op.cc | 126 const int32 num_data = static_cast<int32>(input_data.shape().dim_size(0)); in Compute() local 134 output_routing_shape.AddDim(num_data); in Compute() 144 output_parameters_shape.AddDim(num_data); in Compute() 150 output_bias_shape.AddDim(num_data); in Compute() 177 for (int i = 0; i < num_data; i++) { in Compute()
|
D | hard_routing_function_op.cc | 110 const int32 num_data = static_cast<int32>(input_data.shape().dim_size(0)); in Compute() local 116 output_probability_shape.AddDim(num_data); in Compute() 121 output_path_shape.AddDim(num_data); in Compute() 138 for (int i = 0; i < num_data; i++) { in Compute()
|
D | k_feature_gradient_op.cc | 101 const int32 num_data = in Compute() local 113 out_routes_shape.AddDim(num_data); in Compute() 123 out_weights_shape.AddDim(num_data); in Compute() 147 for (int i = 0; i < num_data; i++) { in Compute()
|
D | routing_function_op.cc | 101 const int32 num_data = static_cast<int32>(input_data.shape().dim_size(0)); in Compute() local 107 output_shape.AddDim(num_data); in Compute() 117 for (int i = 0; i < num_data; i++) { in Compute()
|
D | routing_gradient_op.cc | 100 const int32 num_data = static_cast<int32>(input_data.shape().dim_size(0)); in Compute() local 106 output_shape.AddDim(num_data); in Compute() 116 for (int i = 0; i < num_data; i++) { in Compute()
|
D | k_feature_routing_function_op.cc | 116 const int32 num_data = static_cast<int32>(input_data.shape().dim_size(0)); in Compute() local 122 output_shape.AddDim(num_data); in Compute() 133 for (int i = 0; i < num_data; i++) { in Compute()
|
/external/libcups/cups/ |
D | tls-gnutls.c | 692 num_data = 0; /* Bytes used */ in httpLoadCredentials() local 730 if (!in_certificate || !num_data) in httpLoadCredentials() 744 if (httpAddCredential(*credentials, data, num_data)) in httpLoadCredentials() 751 num_data = 0; in httpLoadCredentials() 764 else if ((num_data + strlen(line)) >= alloc_data) in httpLoadCredentials() 780 decoded = alloc_data - num_data; in httpLoadCredentials() 781 httpDecode64_2((char *)data + num_data, &decoded, line); in httpLoadCredentials() 782 num_data += (size_t)decoded; in httpLoadCredentials() 961 num_data = 0; /* Bytes used */ in http_gnutls_load_crl() local 974 if (num_data) in http_gnutls_load_crl() [all …]
|
/external/u-boot/board/LaCie/common/ |
D | cpld-gpio-bus.h | 13 unsigned num_data; member
|
D | cpld-gpio-bus.c | 29 for (pin = 0; pin < bus->num_data; pin++) in cpld_gpio_bus_set_data()
|
/external/tensorflow/tensorflow/contrib/factorization/python/ops/ |
D | gmm_ops.py | 78 num_data = math_ops.add_n([array_ops.shape(inp)[0] for inp in data]) 80 [check_ops.assert_less_equal(num_clusters, num_data)]): 84 maxval=math_ops.cast(num_data, dtypes.int64), 87 indices %= math_ops.cast(num_data, dtypes.int64)
|
/external/u-boot/board/LaCie/net2big_v2/ |
D | net2big_v2.c | 152 .num_data = ARRAY_SIZE(cpld_gpio_bus_data),
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_partition.cc | 984 int32 num_data = 0; in Partition() local 1164 ++num_data; in Partition() 1216 << ", data=" << num_data; in Partition()
|