Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 723 for cloning (0.37 sec)

  1. src/html/template/clone_test.go

    	t4 := Must(t0.Clone())
    	if _, err := t4.Parse(`{{define "lhs"}} OK {{end}}`); err != nil {
    		t.Errorf(`redefine "lhs": got err %v want nil`, err)
    	}
    	// Cloning t1 should fail as it has been executed.
    	if _, err := t1.Clone(); err == nil {
    		t.Error("cloning t1: got nil err want non-nil")
    	}
    	// Redefining the "lhs" template in t1 should fail as it has been executed.
    	if _, err := t1.Parse(`{{define "lhs"}} OK {{end}}`); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

      // negative sizes of the deallocations that are possible after the previous
      // operation.
      //
      // If we modify the operation sequence by cloning an operation range, that
      // memory profile will change--cloning makes it necessary to extend the
      // lifetime of some tensors, while other tensors can be deallocated early and
      // rematerialized later.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      // Operation along with its respective operands and result Values(s).
      // The semantic of `Operation::clone` is copying given entity *into* this
      // entity. The new FuncOp body is populated by cloning partitioned ops into
      // it. Cloning Operation(s) will create cloned Value(s) for the results of a
      // cloned op, but it needs a reference to the new operand Value(s) which are
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/unique/clone.go

    import (
    	"internal/abi"
    	"internal/stringslite"
    	"unsafe"
    )
    
    // clone makes a copy of value, and may update string values found in value
    // with a cloned version of those strings. The purpose of explicitly cloning
    // strings is to avoid accidentally giving a large string a long lifetime.
    //
    // Note that this will clone strings in structs and arrays found in value,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/clone_constants_for_better_clustering.h

    //    will block us from clustering GPU_0_X and GPU_0_Y together since that
    //    would increase the amount of work on GPU 0 waiting on work on GPU 1.
    //    However, cloning Const into two copies, one for GPU_0_Y and one for GPU_1
    //    will let us create one cluster containing {Const/copy_0, GPU_1} and
    //    another containing {Const/copy_1, GPU_0_X, GPU_0_Y}.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 23:57:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/ParallelSourceDependencyIntegrationTest.groovy

                        dependencies {
                            compile 'test:test:1.2'
                        }
                        tasks.register('resolve') {
                            // Not a dependency, so that cloning happens at execution time (in parallel)
                            doLast {
                                configurations.compile.each { }
                            }
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. src/text/template/examplefiles_test.go

    	// the drivers, then add a definition of T2 to the template name space.
    
    	// 1. Clone the helper set to create a new name space from which to run them.
    	first, err := drivers.Clone()
    	if err != nil {
    		log.Fatal("cloning helpers: ", err)
    	}
    	// 2. Define T2, version A, and parse it.
    	_, err = first.Parse("{{define `T2`}}T2, version A{{end}}")
    	if err != nil {
    		log.Fatal("parsing T2: ", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  8. src/html/template/examplefiles_test.go

    	// the drivers, then add a definition of T2 to the template name space.
    
    	// 1. Clone the helper set to create a new name space from which to run them.
    	first, err := drivers.Clone()
    	if err != nil {
    		log.Fatal("cloning helpers: ", err)
    	}
    	// 2. Define T2, version A, and parse it.
    	_, err = first.Parse("{{define `T2`}}T2, version A{{end}}")
    	if err != nil {
    		log.Fatal("parsing T2: ", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

            absl::StrCat(GetInitializerType(src_func_op), "_", src_arg_idx, ":0");
    
        AddEntryFunctionInput(new_input_name, main_func_op);
    
        // During cloning, let it know that the source function's argument
        // corresponds to the main function's newly created argument when cloning
        // ops from src -> main.
        BlockArgument main_arg = main_func_op.getArgument(main_arg_idx);
        mapper.map(src_arg, main_arg);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc

    // to this pass:
    //
    // 1. TF currently relies on "sufficiently good shape inference" for
    // correctness so for now the cost of doing this seems acceptable since
    // pathological cases haven't hit us yet.
    //
    // 2. Cloning functions can help by allowing code to be specialized (much as
    // inlining does). In fact, tf-shape-inference attempts to do specialization
    // of callees which is difficult if callees have multiple uses.
    class GuaranteeAllFuncsOneUse
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top