Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,931 for initialize_ (0.44 sec)

  1. 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)
  2. pkg/proxy/node_test.go

    			name: "both empty",
    		},
    		{
    			name:            "initialized correctly",
    			newNodePodCIDRs: []string{"192.168.1.0/24", "fd00:1:2:3::/64"},
    		},
    		{
    			name:            "already initialized and same node",
    			oldNodePodCIDRs: []string{"10.0.0.0/24", "fd00:3:2:1::/64"},
    			newNodePodCIDRs: []string{"10.0.0.0/24", "fd00:3:2:1::/64"},
    		},
    		{
    			name:            "already initialized and different node",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 10 16:50:29 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

    // Tests a case with one ConstOp and a tf_saved_model.session_initializer with an empty initializers.
    module attributes {tf_saved_model.semantics} {
    
      "tf_saved_model.session_initializer"() {initializers = []} : () -> ()
    // Check that the init function is created & added to the initializers attribute.
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: initializers = [@init_func_restore_op]
    
    // CHECK: func.func @init_func_restore_op()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

      }
    
      public void testInitialize() {
        assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized);
    
        Reflection.initialize(A.class);
        assertEquals(1, classesInitialized);
    
        Reflection.initialize(
            A.class, // Already initialized (above)
            B.class, C.class);
        assertEquals(3, classesInitialized);
      }
    
      public void testNullPointers() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_distributed_manager.h

                                          int64_t init_timeout_in_ms, int retries,
                                          bool clear_existing_contexts = false) = 0;
    
      // Initializes context for the local worker and no contexts will be created
      // for remote workers. Currently this only works for resetting context.
      // TODO(b/289445025): Consider removing this when we find a proper fix.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testplugin/testdata/issue44956/main.go

    // base.X, so that symbol is deadcoded in plugin1.
    //
    // plugin1 is loaded first. base.init runs at that point, which
    // initialize base.stmp.
    //
    // plugin2 is then loaded. base.init already ran, so it doesn't run
    // again. When base.stmp is not exported, plugin2's base.X points to
    // its own private base.stmp, which is not initialized, fail.
    
    package main
    
    import "plugin"
    
    func main() {
    	_, err := plugin.Open("issue44956p1.so")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          self, sess: session.Session
      ) -> Tuple[core.Tensor, core.Tensor, core.Tensor]:
        """Creates a simple model that initializes and lookups a vocab table.
    
        This model creates an asset file at "vocab_file.txt" containing
        comma-separated vocabularies.  It also initializes a `StaticVocabularyTable`
        and performs a lookup with the input vocabs, which is a 1D tensor of
        strings.
    
        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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

        session_init_op = builder.create<SessionInitializerOp>(
            module_op.getLoc(), /*initializers=*/builder.getArrayAttr({}));
      }
    
      return session_init_op;
    }
    
    // Create the initializer function right after the SessionInitializer op.
    // Returns the newly created initializer function. The initializer function's
    // initializer_type is set to "restore_op" since it essentially serves as a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

                new SimpleModelRuleDescriptor("initialize binary " + binaryPath),
                new BiAction<MutableModelNode, NativeBinarySpec>() {
                    @Override
                    public void execute(MutableModelNode mutableModelNode, NativeBinarySpec nativeBinarySpec) {
                        initialize(nativeBinarySpec, namingScheme, resolver, fileCollectionFactory, platform, buildType, flavor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/init.go

    package modcmd
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/modload"
    	"context"
    )
    
    var cmdInit = &base.Command{
    	UsageLine: "go mod init [module-path]",
    	Short:     "initialize new module in current directory",
    	Long: `
    Init initializes and writes a new go.mod file in the current directory, in
    effect creating a new module rooted at the current directory. The go.mod file
    must not already exist.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top