Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for var_ (0.06 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

    func.func @init() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init"]} {
      %var0 = "tf.VarHandleOp"() {container = "", shared_name = "var0"} : () -> tensor<!tf_type.resource<tensor<i1>>>
      %cond = "tf.ReadVariableOp"(%var0) {device = "/CPU:0"} : (tensor<!tf_type.resource<tensor<i1>>>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. pkg/env/var.go

    type DurationVar struct {
    	Var
    }
    
    var (
    	allVars = make(map[string]Var)
    	mutex   sync.Mutex
    )
    
    // VarDescriptions returns a description of this process' environment variables, sorted by name.
    func VarDescriptions() []Var {
    	mutex.Lock()
    	sorted := make([]Var, 0, len(allVars))
    	for _, v := range allVars {
    		sorted = append(sorted, v)
    	}
    	mutex.Unlock()
    
    	sort.Slice(sorted, func(i, j int) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_save_function_ops_to_main.mlir

        tf_executor.graph {
          %out, %ctl = tf_executor.island wraps "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
          %out_0, %ctl_0 = tf_executor.island wraps "tf.ReadVariableOp"(%out) : (tensor<!tf_type.resource<tensor<2xf32>>>) -> tensor<2xf32>
          %out_1, %ctl_1 = tf_executor.island wraps "tf.Const"() {value = dense<"var_0"> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/resource_analyzer.mlir

    module {
    // CHECK-LABEL: @serving_default
      func.func @serving_default() -> (tensor<*xi32>) {
        // expected-remark@below {{device: "", container: "", shared_name: "var_0", is_potentially_written: false}}
        %0 = "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xi32>>>
        %1 = "tf.BatchFunction"(%0) {
            f = @called_by_batch_func,
            operandSegmentSizes = array<i32: 1, 0>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

    // Test case: Basic freezing.
    
    module {
      // CHECK: func @main()
      func.func @main() -> tensor<0xf32> {
        %handle = "tf.VarHandleOp"() {container="", shared_name="var1", device = "/job:worker/replica:0/task:1/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<0xf32>>>
        %val = "tf.ReadVariableOp"(%handle) : (tensor<!tf_type.resource<tensor<0xf32>>>) -> tensor<0xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testshared/testdata/issue47837/main/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"testshared/issue47837/a"
    )
    
    func main() {
    	var vara a.ImplA
    	a.TheFuncWithArgA(&vara)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 273 bytes
    - Viewed (0)
  7. src/runtime/stkframe.go

    		// stackmap for this function. It is likely that we are looking
    		// at the function prologue, assume so and hope for the best.
    		pcdata = 0
    	}
    
    	// Local variables.
    	size := frame.varp - frame.sp
    	var minsize uintptr
    	switch goarch.ArchFamily {
    	case goarch.ARM64:
    		minsize = sys.StackAlign
    	default:
    		minsize = sys.MinFrameSize
    	}
    	if size > minsize {
    		stackid := pcdata
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    loop body inine):
    
    ```mlir
      %var0 = ...
      %var1 = ...
      tf.while (..., %var0, %var1) {
        tf_device.replicate ([%var0, %var1] as %rvar) {
          %compile:2 = "tf._TPUCompileMlir"()
          tf.TPUExecuteAndUpdateVariablesOp(%rvar, compile#1)
        }
      }
    ```
    
    This pass will transform it into
    
    ```mlir
      %var0 = ...
      %var1 = ...
      %state_var0 = ...
      %state_var1 = ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/tests/tfcompile_test.cc

      fn.Run();
      EXPECT_EQ(fn.result0(0, 0), 23);
      EXPECT_EQ(fn.result0(1, 0), 65);
      EXPECT_EQ(fn.var_x(), 65);
    
      EXPECT_EQ(fn.var_x_data(), &x);
      EXPECT_EQ(x, 65);
      fn.Run();
      EXPECT_EQ(fn.result0(0, 0), 65);
      EXPECT_EQ(fn.result0(1, 0), 107);
      EXPECT_EQ(fn.var_x(), 107);
    }
    
    TEST(TFCompileTest, VariableSequentialUpdates) {
      Eigen::ThreadPool tp(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

          %out_0, %ctl_0 = tf_executor.island wraps "tf.Const"() {value = dense<"var_0"> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
          %out_1, %ctl_1 = tf_executor.island wraps "tf.VarHandleOp"() {container = "", shared_name = "var_0", device = "/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
Back to top