OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sparsity
(Results
1 - 10
of
10
) sorted by null
/external/tensorflow/tensorflow/contrib/model_pruning/python/
pruning_test.py
47
# Add
sparsity
48
self.
sparsity
= variables.Variable(0.5, name="
sparsity
")
64
p = pruning.Pruning(spec=self.pruning_hparams,
sparsity
=self.
sparsity
)
66
sparsity
= p._sparsity.eval()
67
self.assertAlmostEqual(
sparsity
, 0.5)
71
p = pruning.Pruning(spec=self.pruning_hparams,
sparsity
=self.
sparsity
)
73
spec=self.pruning_hparams,
sparsity
=self.sparsity
[
all
...]
pruning.py
21
# Returns a list containing the
sparsity
of each of the weight tensors
52
# An object of the pruning also accepts externally defined
sparsity
:
53
sparsity
= tf.Variable(0.5, name = "ConstantSparsity")
55
p = Pruning(pruning_spec,
sparsity
=
sparsity
)
288
"""Get
sparsity
of the weights.
294
A list containing the
sparsity
of each of the weight tensors
327
initial
sparsity
value
329
target
sparsity
value
331
the global step at this which the gradual
sparsity
function begins t
[
all
...]
/external/webrtc/webrtc/common_audio/
sparse_fir_filter.h
27
// |
sparsity
| samples and with an initial |offset|. The rest of the filter
28
// coefficients will be assumed zeros. For example, with
sparsity
= 3, and
34
size_t
sparsity
,
sparse_fir_filter.cc
19
size_t
sparsity
,
21
: sparsity_(
sparsity
),
26
RTC_CHECK_GE(
sparsity
, 1u);
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/testutil/
batch_features_testutil.cc
50
const double
sparsity
=
local
52
const double density = 1 -
sparsity
;
/external/tensorflow/tensorflow/python/kernel_tests/
sparse_add_op_test.py
213
def _s2d_add_vs_sparse_add(
sparsity
, n, m, num_iters=50):
218
sp_t, unused_nnz = _sparsify(sp_vals, thresh=
sparsity
, index_dtype=np.int32)
242
for
sparsity
in [0.99, 0.5, 0.01]:
245
s2d_dt, sa_dt = _s2d_add_vs_sparse_add(
sparsity
, n, m)
246
print("%.2f \t %d \t %d \t %.4f \t %.4f \t %.2f" % (
sparsity
, n, m,
/external/tensorflow/tensorflow/core/kernels/
sparse_matmul_op_test.cc
33
void Sparsify(Tensor* t, float
sparsity
) {
35
CHECK_LE(
sparsity
, 1);
37
if (
sparsity
== 1) {
43
if (rnd.Uniform(K) <
sparsity
* K) {
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
sparsetreemap.go
23
// the set, given certain assumptions about
sparsity
(the log complexity
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
sparsetreemap.go
23
// the set, given certain assumptions about
sparsity
(the log complexity
/external/tensorflow/tensorflow/go/op/
wrappers.go
[
all
...]
Completed in 112 milliseconds