Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,052 for Initializer (0.53 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.h

    namespace tensorflow {
    namespace quantization {
    
    // Saves variables in `module_op` to the checkpoint file inside `prefix`.
    // It finds variables that are initialized with "tf.AssignVariableOp" inside the
    // initializer function with type "restore_op". The "tf.Const"s used to
    // initialize the variables are saved. This function does not modify the
    // `module_op`. Returns a list of saved names of the saved variables.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 22 02:23:23 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/initializer/initializer_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package initializer
    
    import (
    	"net/url"
    	"testing"
    
    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/apiserver/pkg/util/webhook"
    )
    
    type doNothingAdmission struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 08 07:19:52 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbolForOverride.kt

            }
    
        override val backingFieldSymbol: KaBackingFieldSymbol?
            get() = withValidityAssertion { null }
    
        override val initializer: KaInitializerValue?
            get() = withValidityAssertion { createKtInitializerValue((psi as? KtProperty)?.initializer, descriptor, analysisContext) }
    
        override val callableId: CallableId?
            get() = withValidityAssertion { descriptor.callableIdIfNotLocal }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue44799.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func Map[F, T any](s []F, f func(F) T) []T { return nil }
    
    func Reduce[Elem1, Elem2 any](s []Elem1, initializer Elem2, f func(Elem2, Elem1) Elem2) Elem2 { var x Elem2; return x }
    
    func main() {
    	var s []int
    	var f1 func(int) float64
    	var f2 func(float64, int) float64
    	_ = Map[int](s, f1)
    	_ = Map(s, f1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 530 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

               "the values of the VarHandleOps that are found in the initializer "
               "function of 'restore_op' type.";
      }
    
      void runOnOperation() override;
    };
    
    // Finds `tf.AssignVariableOp(tf.VarHandleOp, tf.Const)` patterns and removes
    // `tf.AssignVariableOp`s and `tf.Const`s. Collects and returns the
    // `tf.VarHandleOp`s that are initialized by these `tf.AssignVariableOp`s.
    SmallVector<TF::VarHandleOp> CollectVariableOps(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ChildNodeInitializerStrategy.java

    import org.gradle.api.specs.Spec;
    import org.gradle.model.internal.type.ModelType;
    
    public interface ChildNodeInitializerStrategy<T> {
    
        // Node must project item as S
        <S extends T> NodeInitializer initializer(ModelType<S> type, Spec<ModelType<?>> constraints);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 930 bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

            skipped(":c:${language.compileTaskName}")
        }
    
        // Note: In Groovy the generated constructor is not the same anymore as the empty one (it's annotated now)
        def "doesn't recompile when empty initializer, static initializer or constructor is added"() {
            given:
            buildFile << """
                project(':b') {
                    dependencies {
                        implementation project(':a')
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirEnumEntryInitializerSymbol.kt

        init {
            check(firSymbol.source?.kind == KtFakeSourceElementKind.EnumInitializer) {
                "Expected the `firSymbol` of ${KaFirEnumEntryInitializerSymbol::class.simpleName} to have an enum initializer fake source kind."
            }
        }
    
        /**
         * [KaFirEnumEntryInitializerSymbol] is the required return type instead of [KaEnumEntryInitializerSymbol] to fulfill return type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. test/fixedbugs/bug017.go

    main.go.c:24: error: for each function it appears in.)
    main.go.c:24: error: syntax error before ‘def’
    main.go.c:24: error: missing terminating " character
    main.go.c:25: warning: excess elements in struct initializer
    main.go.c:25: warning: (near initialization for ‘slit’)
    main.go.c:36: error: syntax error at end of input
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 888 bytes
    - Viewed (0)
  10. test/typeparam/sliceimp.dir/a.go

    		r[i] = f(v)
    	}
    	return r
    }
    
    // Reduce reduces a []Elem1 to a single value of type Elem2 using
    // a reduction function.
    func Reduce[Elem1, Elem2 any](s []Elem1, initializer Elem2, f func(Elem2, Elem1) Elem2) Elem2 {
    	r := initializer
    	for _, v := range s {
    		r = f(r, v)
    	}
    	return r
    }
    
    // Filter filters values from a slice using a filter function.
    func Filter[Elem any](s []Elem, f func(Elem) bool) []Elem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 01:55:58 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top