Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,590 for yield (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/replicate_tensor_list_init_ops.mlir

        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
          %cond = "tf.false"():()-> tensor<i1>
          "tf.Yield"(%cond) : (tensor<i1>) -> ()
      }, {
        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
        "tf.Yield"(%barg1) : (tensor<!tf_type.variant<tensor<?x1xf32>>>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 22 17:28:34 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

          // CHECK: tf.Yield
          "tf.Yield"(%recv) : (tensor<f32>) -> ()
        }, {
          // CHECK-NOT: _xla_token_input_nodes
          %add = "tf.Add"(%arg1, %arg1) : (tensor<f32>, tensor<f32>) -> tensor<f32>
    
          // CHECK: tf.Yield
          "tf.Yield"(%add) : (tensor<f32>) -> ()
        }) { is_stateless = true}: (tensor<i1>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/testdata/invalid_executor.mlir

      func.func @main() {
        tf_executor.graph {
          %control = tf_executor.island {
            tf_executor.yield
          }
          tf_executor.fetch %control : !tf_executor.control
        }
        tf_executor.graph {
          %control = tf_executor.island {
            tf_executor.yield
          }
          tf_executor.fetch %control : !tf_executor.control
        }
        return
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 14:48:16 UTC 2023
    - 457 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/testdata/invalid_executor.mlir

      func.func @main() {
        tf_executor.graph {
          %control = tf_executor.island {
            tf_executor.yield
          }
          tf_executor.fetch %control : !tf_executor.control
        }
        tf_executor.graph {
          %control = tf_executor.island {
            tf_executor.yield
          }
          tf_executor.fetch %control : !tf_executor.control
        }
        return
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 15:25:49 UTC 2023
    - 457 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/executor_island_materialize_const.mlir

          tf_executor.yield %0 : tensor<f32>
        }
    // Uses two islands for no other reason than preventing canonicalization from
    // eliminating the graph entirely.
        %2:2 = tf_executor.island(%1#1) {
          %4 = "tf.opB"(%1#0) : (tensor<f32>) -> tensor<f32>
          tf_executor.yield %4 : tensor<f32>
        }
        tf_executor.fetch %2#0 : tensor<f32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 854 bytes
    - Viewed (0)
  6. docs/de/docs/advanced/events.md

    ### Lifespan-Funktion
    
    Das Erste, was auffällt, ist, dass wir eine asynchrone Funktion mit `yield` definieren. Das ist sehr ähnlich zu Abhängigkeiten mit `yield`.
    
    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    Der erste Teil der Funktion, vor dem `yield`, wird ausgeführt **bevor** die Anwendung startet.
    
    Und der Teil nach `yield` wird ausgeführt, **nachdem** die Anwendung beendet ist.
    
    ### Asynchroner Kontextmanager
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:30:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/internal/types/testdata/spec/range.go

    	}
    	m2 := (*T).PM
    	for range m2 /* ERROR "cannot range over m2 (variable of type func(*T)): func must be func(yield func(...) bool): argument is not func" */ {
    	}
    	for range f1 /* ERROR "cannot range over f1 (value of type func()): func must be func(yield func(...) bool): wrong argument count" */ {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 04:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/launch_outlining.mlir

            %4 = "tf.B"(%2) : (tensor<?xi32>) -> tensor<?xi32>
            tf_device.return %4 : tensor<?xi32>
          }) {device = "/device:test_device:0"} : () -> tensor<?xi32>
    
          // CHECK: tf_executor.yield %[[LAUNCH_OUTPUT]]
          tf_executor.yield %3 : tensor<?xi32>
        }
        tf_executor.fetch %1#0 : tensor<?xi32>
      }
      func.return %0 : tensor<?xi32>
    }
    
    // CHECK: func private @[[LAUNCH]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/events.md

    A primeira coisa a notar, é que estamos definindo uma função assíncrona com `yield`. Isso é muito semelhante à Dependências com `yield`.
    
    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    A primeira parte da função, antes do `yield`, será  executada **antes** da aplicação inicializar.
    
    E a parte posterior do `yield` irá executar **após** a aplicação ser encerrada.
    
    ### Gerenciador de Contexto Assíncrono
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    The first part of the function, before the `yield`, will be executed **before** the application starts.
    
    And the part after the `yield` will be executed **after** the application has finished.
    
    ### Async Context Manager
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top