- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 855 for self$ (0.39 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/integration_test/custom_aggregator_op_test.py
) aggregator_output = self.evaluate(aggregator) self.assertAllEqual(aggregator_output.output, [1.0, 2.0, 3.0, 4.0, 5.0]) self.assertEqual(aggregator_output.min, 1.0) self.assertEqual(aggregator_output.max, 5.0) self.assertEmpty(aggregator_output.histogram) def testTwoIdentities(self): with self.session(): input_tensor1 = array_ops.constant(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
) def has_reshape(self) -> bool: return self.bias_fn() and self.bias_size != self.filters.shape[-1] @def_function.function def matmul(self, input_tensor: core.Tensor) -> Mapping[str, core.Tensor]: """Performs a matrix multiplication. Depending on self.bias_fn and self.activation_fn, it may add a bias term or go through the activaction function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing_test.py
self.create_tempfile(file_path='dir_b/x.txt', content='1234') self.create_tempfile(file_path='dir_b/y.txt', content='56') self.create_tempfile(file_path='dir_b/z.txt', content='78') def test_get_dir_size(self): self.assertEqual(testing.get_dir_size(self.path_a), 4) self.assertEqual(testing.get_dir_size(self.path_b), 8) def test_get_size_ratio(self):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
XValidations: apiextensions.ValidationRules{ {Rule: "self >= oldSelf.value()", OptionalOldSelf: ptr.To(true)}, {Rule: "self >= oldSelf.orValue(1)", OptionalOldSelf: ptr.To(true)}, {Rule: "oldSelf.hasValue() ? self >= oldSelf.value() : true", OptionalOldSelf: ptr.To(true)}, {Rule: "self >= oldSelf", OptionalOldSelf: ptr.To(true)}, {Rule: "self >= oldSelf.orValue('')", OptionalOldSelf: ptr.To(true)}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/op_reg_gen.py
def __init__(self, ctx): super(OpRegGenImpl, self).__init__(ctx) self.ctx = ctx def visit_Name(self, node): return node.id def visit_Constant(self, node): return node.value def visit_keyword(self, node): return node.arg, self.visit(node.value) def visit_List(self, node): return [self.visit(cst) for cst in node.elts]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 5K bytes - Viewed (0) -
fastapi/dependencies/models.py
) -> None: self.path_params = path_params or [] self.query_params = query_params or [] self.header_params = header_params or [] self.cookie_params = cookie_params or [] self.body_params = body_params or [] self.dependencies = dependencies or [] self.security_requirements = security_schemes or [] self.request_param_name = request_param_name
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
self.scf_scope += 1 def insert_symbol(self, name, value, type_): self.curr_table['symbols'][name] = (value, type_) # TODO(mdan): Use the inferred type rather than tracking it here. # The following field is deprecated. self.curr_table['types'][name] = type_ return value def exit_scope(self): self.symbols.pop() self.curr_table = self.symbols[len(self.symbols) - 1] if self.scf_scope > 0:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
manifests/addons/dashboards/lib/queries.libsonnet
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
def has_reshape(self) -> bool: return self.has_bias() and self.bias_size != self.filters.shape[-1] @def_function.function def matmul(self, input_tensor: core.Tensor) -> Mapping[str, core.Tensor]: """Performs a matrix multiplication. Depending on self.has_bias and self.activation_fn, it may add a bias term or go through the activaction function. Args:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py
def test_multiple_conversion_jobs_with_calibration(self): # Ensure that multiple conversion jobs with calibration won't encounter any # concurrency issue. with self.pool: jobs = [] for _ in range(10): jobs.append(self.pool.submit(self._convert_with_calibration)) for job in jobs: self.assertIsNotNone(job.result()) if __name__ == '__main__':
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 11 00:47:05 UTC 2023 - 3.6K bytes - Viewed (0)