Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for var_ (0.04 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. tensorflow/cc/tools/freeze_saved_model_test.cc

        if (use_resource) {
          Output var =
              ops::VarHandleOp(scope.WithOpName("var"), DataType::DT_FLOAT, {});
          read_var = ops::ReadVariableOp(
              scope.WithOpName("var/Read/ReadVariableOp"), var, DataType::DT_FLOAT);
          auto assign = ops::AssignVariableOp(scope.WithOpName("assign"), var, a);
          Output var_1 =
              ops::VarHandleOp(scope.WithOpName("var_1"), DataType::DT_FLOAT, {});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_initialize_variables_in_session_init_fail.mlir

        %0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", device = "/job:worker/replica:0/task:1/device:CPU:0", shared_name = "var1"} : () -> tensor<!tf_type.resource<tensor<100x50xf32>>>
        %1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf_type.resource<tensor<100x50xf32>>>) -> tensor<100x50xf32>
        func.return %1 : tensor<100x50xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 994 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top