Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,052 for Initializer (1.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    }
    
    func TestRESTMapperAdmissionPlugin(t *testing.T) {
    	initializer := initializer.New(nil, nil, nil, &TestAuthorizer{}, nil, nil, &doNothingRESTMapper{})
    	wantsRESTMapperAdmission := &WantsRESTMapperAdmissionPlugin{}
    	initializer.Initialize(wantsRESTMapperAdmission)
    
    	if wantsRESTMapperAdmission.mapper == nil {
    		t.Errorf("Expected REST mapper to be initialized but found nil")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

      "tf_saved_model.asset"() {filename = "assets/table.txt", sym_name = "v"} : () -> ()
      "tf_saved_model.session_initializer"() {initializers = [@NoOp_0, @NoOp_1]} : () -> ()
    // Check that the initializer typed "init_op" is removed from initializers list.
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: initializers = []
    
    func.func @NoOp_0(%arg0: tensor<!tf_type.string> {tf_saved_model.bound_input = @v})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

            protected Class<T> cls;
    
            protected Consumer<T> initializer;
    
            protected StandardCrawlerContainer container;
    
            private T instance;
    
            protected ComponentDef(final Class<T> cls, final Consumer<T> initializer, final StandardCrawlerContainer container) {
                this.cls = cls;
                this.initializer = initializer;
                this.container = container;
            }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir

    module attributes {tf_saved_model.semantics} {
    }
    
    // -----
    
    // Nothing happens when there are no initializer functions.
    
    // CHECK-LABEL: module
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = []} : () -> ()
    }
    
    // -----
    
    // Nothing happens when the initializer function of type = "restore_op" is
    // empty.
    
    // CHECK-LABEL: module
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/ops.h

    class Input {
     public:
      /// Initializer enables constructing an Input object from various kinds of C++
      /// constants such as simple primitive constants and nested initializer lists
      /// representing a multi-dimensional array. Initializer constructors are all
      /// templates, so the aforementioned kinds of C++ constants can be used to
      /// construct an Initializer. Initializer stores the value it got constructed
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. tensorflow/cc/ops/const_op.h

    namespace ops {
    
    /// @defgroup const_op Const Op
    /// @{
    
    Output Const(const Scope& scope, const Input::Initializer& val);
    
    Output ConstFromProto(const Scope& scope, const TensorProto& proto);
    
    NodeBuilder::NodeOut AsNodeOut(const Scope& scope, const Input& inp);
    
    template <typename T>
    Output Const(const Scope& scope, const Input::Initializer& val) {
      auto orig_const_output = Const(scope, val);
      if (!scope.ok()) return Output();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 17 09:17:01 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h

    // Returns the session initializer of this module if it exists. Returns null
    // otherwise.
    SessionInitializerOp GetSessionInitializerOp(ModuleOp module_op);
    
    // Returns the exported name for the session initializer function.
    SmallVector<StringRef, 2> GetSessionInitializerExportedName(ModuleOp module_op);
    
    // Returns initializer function ops. These functions' symbols are in the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/ops.cc

        }
      }
      return inputs;
    }
    
    Input::Initializer::Initializer(
        const std::initializer_list<Input::Initializer>& v) {
      if (v.size() < 1) {
        // Empty initializer list defaults to float tensor with shape (0,)
        tensor = Tensor(DT_FLOAT, TensorShape{0});
        return;
      }
      auto const& first = *v.begin();
      // Check to make sure that the constituent Initializers are all the same
      // type and same shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/GenerationSettings.java

     */
    public class GenerationSettings {
        private final BuildInitializer initializer;
        private final InitSettings settings;
    
        public GenerationSettings(BuildInitializer initializer, InitSettings settings) {
            this.initializer = initializer;
            this.settings = settings;
        }
    
        public BuildInitializer getInitializer() {
            return initializer;
        }
    
        public InitSettings getSettings() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:30:23 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

      StringRef getArgument() const override {
        return "quant-merge-initializer-function-ops-to-main";
      }
    
      StringRef getDescription() const override {
        return "Moves all ops from the initializer functions to the main function. "
               "A new `tf.NoOp` that has a control dependency to the initializer "
               "function for non-variable resources will be created. Its control "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top