Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 855 for SELF (1.92 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/exported_python_args.py

    class TestModule(tf.Module):
    
      @tf.function(input_signature=[tf.TensorSpec([], tf.float32)])
      def some_function(self, x):
        return self.callee(x)
    
      # CHECK: While importing SavedModel function 'callee': in input signature:
      # CHECK-SAME: Unhandled structured value kind {{.*}} at index path: <value>.1.foo
      @tf.function
      def callee(self, x, n={'foo': 42}):
        return x
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtRendererOtherModifiersProvider.kt

        public infix fun and(other: KaRendererOtherModifiersProvider): KaRendererOtherModifiersProvider {
            val self = this
            return object : KaRendererOtherModifiersProvider {
                override fun getOtherModifiers(analysisSession: KaSession, symbol: KaDeclarationSymbol): List<KtModifierKeywordToken> {
                    return self.getOtherModifiers(analysisSession, symbol) + other.getOtherModifiers(analysisSession, symbol)
                }
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater.go

    	}
    }
    
    // Update implements Manager.
    func (f *managedFieldsUpdater) Update(liveObj, newObj runtime.Object, managed Managed, manager string) (runtime.Object, Managed, error) {
    	self := "current-operation"
    	object, managed, err := f.fieldManager.Update(liveObj, newObj, managed, self)
    	if err != nil {
    		return object, managed, err
    	}
    
    	// If the current operation took any fields from anything, it means the object changed,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue56103.go

    // license that can be found in the LICENSE file.
    
    package p
    
    // Self recursion.
    type i interface{ m() interface{ i } } // ERROR "invalid recursive type"
    type _ interface{ i }                  // no redundant error
    
    // Mutual recursion.
    type j interface{ m() interface{ k } } // ERROR "invalid recursive type"
    type k interface{ m() interface{ j } }
    
    // Both self and mutual recursion.
    type (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 20:15:23 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/internal/buildevents/BuildFailureIntegrationTest.groovy

            buildFile << """
                Exception selfReferencingException = new Exception("BOOM self")
                selfReferencingException.initCause(new Exception("BOOM cause", selfReferencingException))
                throw selfReferencingException
            """
    
            when:
            fails("help", "-s")
    
            then:
            failureCauseContains("BOOM self")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:10:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIdentityIntegrationTest.groovy

                    def projectInOtherBuild = rootComponent.dependencies[0].selected
                    def self = rootComponent.dependencies[1].selected
                    assert rootComponent.id.build.currentBuild
                    assert self.id.build.currentBuild
                    assert self == rootComponent
                    assert !projectInOtherBuild.id.build.currentBuild
                }
            """
            buildC.buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. docs_src/handling_errors/tutorial003.py

    from fastapi import FastAPI, Request
    from fastapi.responses import JSONResponse
    
    
    class UnicornException(Exception):
        def __init__(self, name: str):
            self.name = name
    
    
    app = FastAPI()
    
    
    @app.exception_handler(UnicornException)
    async def unicorn_exception_handler(request: Request, exc: UnicornException):
        return JSONResponse(
            status_code=418,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 626 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/partially_shaped_variables.py

    import tensorflow.compat.v2 as tf
    from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common
    
    
    class TestModule(tf.Module):
    
      def __init__(self):
        super(TestModule, self).__init__()
        # CHECK: "tf_saved_model.global_tensor"() <{is_mutable, {{.*}} type = tensor<*xf32>, value = dense<0.000000e+00> : tensor<1xf32>}> {tf_saved_model.exported_names = ["v0"]} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. pkg/apis/networking/fuzzer/fuzzer.go

    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    			// length in bytes of the IP Family: IPv4: 4 bytes IPv6: 16 bytes
    			boolean := []bool{false, true}
    			is6 := boolean[c.Rand.Intn(2)]
    			ip := generateRandomIP(is6, c)
    			obj.Name = ip
    		},
    		func(obj *networking.ServiceCIDR, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                    - message: url must have schema one of [http, https, file, oci]
                      rule: 'isURL(self) ? (url(self).getScheme() in ['''', ''http'',
                        ''https'', ''oci'', ''file'']) : (isURL(''http://'' + self) &&
                        url(''http://'' +self).getScheme() in ['''', ''http'', ''https'',
                        ''oci'', ''file''])'
                  verificationKey:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
Back to top