Home
last modified time | relevance | path

Searched refs:values_tensor (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/testutil/
Dbatch_features_testutil.cc70 auto values_tensor = Tensor(tensorflow::DT_FLOAT, {sparse_values_size}); in RandomlyInitializeBatchFeatures() local
71 tensorflow::test::FillValues<float>(&values_tensor, values); in RandomlyInitializeBatchFeatures()
72 sparse_float_feature_values_list.push_back(values_tensor); in RandomlyInitializeBatchFeatures()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparsemask_op_test.py40 values_tensor = ops.convert_to_tensor(values)
44 t = ops.IndexedSlices(values_tensor, indices_tensor)
/external/tensorflow/tensorflow/contrib/libsvm/kernels/
Ddecode_libsvm_op.cc117 Tensor* values_tensor; in Compute() local
121 &values_tensor)); in Compute()
122 auto values = values_tensor->vec<T>(); in Compute()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dsparsify_gather.cc42 Tensor* values_tensor) { in SparsifyWeights() argument
74 *values_tensor = in SparsifyWeights()
77 values_tensor->flat<float>().data()); in SparsifyWeights()
352 Tensor values_tensor; in SparsifyGatherInternal() local
354 SparsifyWeights(weight, &indices_tensor, &values_tensor)); in SparsifyGatherInternal()
365 CreateConstNode(values_tensor, StrCat(weights_node.name(), "/values"), in SparsifyGatherInternal()
/external/tensorflow/tensorflow/core/kernels/
Dhistogram_op.cc80 const Tensor& values_tensor = ctx->input(0); in Compute() local
92 const auto values = values_tensor.flat<T>(); in Compute()
Dmap_stage_op.cc523 OpInputList values_tensor; in Compute() local
527 OP_REQUIRES_OK(ctx, ctx->input_list("values", &values_tensor)); in Compute()
533 for (std::size_t i = 0; i < values_tensor.size(); ++i) { in Compute()
534 tuple.push_back(values_tensor[i]); in Compute()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dquantile_ops.cc468 const Tensor& values_tensor = float_features_list[feature_idx]; in Compute() local
469 const int64 num_values = values_tensor.dim_size(0); in Compute()
479 auto flat_values = values_tensor.flat<float>(); in Compute()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dquantile_ops.cc112 const Tensor& values_tensor = values_list[feature_index]; in QuantizeFeatures() local
113 const int64 num_values = values_tensor.dim_size(0); in QuantizeFeatures()
125 auto flat_values = values_tensor.flat<float>(); in QuantizeFeatures()