Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 165 for SELF (0.04 sec)

  1. tensorflow/cc/saved_model/testdata/generate_saved_models.py

          tensor_spec.TensorSpec((), dtypes.float32)
      ])
      def compute(self, a, b):
        return (a + self.x) * (b + self.y) / (self.child.z) + self.child.c
    
    
    class ReferencesParent(module.Module):
    
      def __init__(self, parent):
        super(ReferencesParent, self).__init__()
        self.parent = parent
        self.my_variable = variables.Variable(3., name="MyVariable")
    
    
    # Creates a cyclic object graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 18:06:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. fastapi/exceptions.py

    class ValidationException(Exception):
        def __init__(self, errors: Sequence[Any]) -> None:
            self._errors = errors
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
    
    class RequestValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
            super().__init__(errors)
            self.body = body
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapPropertyExtensions.java

         *
         * @param self the {@link MapProperty}
         * @param key the key
         * @param value the value or a {@link Provider} of the value
         */
        @SuppressWarnings("unchecked")
        public static <K, V> void putAt(MapProperty<K, V> self, K key, Object value) {
            if (value instanceof Provider<?>) {
                self.put(key, (Provider) value);
            } else {
                self.put(key, (V) value);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    	auth authorizer.Authorizer
    }
    
    func (self *WantAuthorizerAdmission) SetAuthorizer(a authorizer.Authorizer) { self.auth = a }
    func (self *WantAuthorizerAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	return nil
    }
    func (self *WantAuthorizerAdmission) Handles(o admission.Operation) bool { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/HierarchicalClassLoaderStructure.java

        private final ClassLoaderSpec self;
        private final HierarchicalClassLoaderStructure parent;
    
        public HierarchicalClassLoaderStructure(ClassLoaderSpec self) {
            this(self, null);
        }
    
        public HierarchicalClassLoaderStructure(ClassLoaderSpec self, @Nullable HierarchicalClassLoaderStructure parent) {
            this.self = self;
            this.parent = parent;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/lib/variables.libsonnet

      namespace:
        var.query.new('namespace')
        + var.query.withDatasourceFromVariable(self.datasource)
        + var.query.queryTypes.withLabelValues(
          'namespace',
          'process_cpu_seconds_total{cluster=~"$%s"}' % self.cluster.name,
        )
        + var.query.withRefresh('time'),
    
      job:
        var.query.new('job')
        + var.query.withDatasourceFromVariable(self.datasource)
        + var.query.queryTypes.withLabelValues(
          'job',
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/basic.py

    # CHECK-SAME: tf.versions
    # CHECK-SAME: bad_consumers
    # CHECK-SAME: min_consumer
    # CHECK-SAME: producer
    
    
    class TestModule(tf.Module):
    
      def __init__(self):
        super(TestModule, self).__init__()
        self.v42 = tf.Variable(42.0)
        self.c43 = tf.constant(43.0)
    
      # During serialization, the constants are given internal (non-user-accessible, non-semantically-load-bearing) exported names.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. samples/bookinfo/src/productpage/tests/unit/test_productpage.py

    import unittest
    
    import requests_mock
    
    import productpage
    
    
    class ApplianceTest(unittest.TestCase):
    
        def setUp(self):
            self.app = productpage.app.test_client()
    
        @requests_mock.Mocker()
        def test_header_propagation_reviews(self, m):
            """ Check that tracing headers are forwarded correctly """
            product_id = 0
            # Register expected headers with the mock. If the headers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. fastapi/security/open_id_connect_url.py

                    """
                ),
            ] = True,
        ):
            self.model = OpenIdConnectModel(
                openIdConnectUrl=openIdConnectUrl, description=description
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(self, request: Request) -> Optional[str]:
            authorization = request.headers.get("Authorization")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. fastapi/security/api_key.py

                    """
                ),
            ] = True,
        ):
            self.model: APIKey = APIKey(
                **{"in": APIKeyIn.query},  # type: ignore[arg-type]
                name=name,
                description=description,
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(self, request: Request) -> Optional[str]:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top