Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for yield4x (0.26 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      if (!control_node.GetBody().args_empty())
        return control_node.emitOpError() << "expects body without any arguments";
    
      Operation& yield = control_node.GetBody().back();
      if (!isa<YieldOp>(yield))
        return yield.emitOpError()
               << "invalid TFL.control_node terminator, yield expected";
    
      // Ensure that the terminator's operands and the control_node results match in
      // types.
      const int result_count =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

              "tf.Yield"() : () -> ()
            }, {
              "tf.Yield"() : () -> ()
            }) { is_stateless = false} : (tensor<i1>) -> ()
    
            "tf.IfRegion"(%6) ({
              "tf.F"(%3) {_xla_outside_compilation = "auto"} : (tensor<2xi32>) -> ()
              "tf.Yield"() : () -> ()
            }, {
              "tf.Yield"() : () -> ()
            }) { is_stateless = false} : (tensor<i1>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

                                     {"tf.Yield"(%if3) : (!tf_variant) -> ()})
            {is_stateless = true} : (tensor<i1>) -> !tf_variant
        %if5 = "tf.IfRegion"(%arg0) ({"tf.Yield"(%if4) : (!tf_variant) -> ()},
                                     {"tf.Yield"(%if4) : (!tf_variant) -> ()})
            {is_stateless = true} : (tensor<i1>) -> !tf_variant
        %if6 = "tf.IfRegion"(%arg0) ({"tf.Yield"(%if5) : (!tf_variant) -> ()},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

                // expected-remark@above {{ID: 2}}
                  tf_executor.yield %arg1 : tensor<i1>
                  // expected-remark@above {{ID: 1}}
                }
                tf_executor.fetch %island#0 : tensor<i1>
                // expected-remark@above {{ID: 3}}
              }
              "tf.Yield"(%graph) : (tensor<i1>) -> ()
              // expected-remark@above {{ID: 5}}
            }, { // Else region
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

      def _simple_model_data_gen(self) -> repr_dataset.RepresentativeDataset:
        """Creates an interable of representative samples.
    
        Yields:
          Representative samples, which is basically a mapping of: input key ->
          input value.
        """
        for _ in range(8):
          yield {
              'input_tensor': ops.convert_to_tensor(
                  np.random.uniform(low=0, high=150, size=(1, 4)).astype('f4')
              ),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    method in class org.hamcrest.core.Every Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields items that are all matched by the specified itemMatcher. everyItem(Matcher<U>) - Static method in class org.hamcrest.CoreMatchers Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields items that are all matched by the specified itemMatcher. expectedTypeFrom(Method) - Method in class org.hamcrest.internal.ReflectiveTypeFinder...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 236.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %1 : tensor<2xf32>
    }
    
    // -----
    
    // Test invalid tf.Yield operation (parent should be IfRegion)
    func.func @testInvalidYieldOp(%arg0: f32) -> () {
      // expected-error @+1 {{'tf.Yield' op expects parent op to be one of 'tf.CaseRegion, tf.IfRegion, tf.WhileRegion, tf.GeneratorDatasetRegion'}}
      "tf.Yield"(%arg0) : (f32) -> ()
    }
    
    // -----
    
    // Test valid tf.IfRegion operation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        "tf.IfRegion"(%0) ( {
          %2 = "tf.A"() : () -> (tensor<f32>)
          "tf.Yield"() : () -> ()
          }, {
          "tf.Yield"() : () -> ()
         }) { is_stateless = true } : (tensor<i1>) -> ()
        "tf.IfRegion"(%0) ( {
          %2 = "tf.B"() : () -> (tensor<f32>)
          "tf.Yield"() : () -> ()
          }, {
          "tf.Yield"() : () -> ()
          }) { is_stateless = true } : (tensor<i1>) -> ()
        ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        // if they are yielded they always have to be forwarded 1:1.
        auto forwarded_operands = cond_yield->getOperands().drop_front(1);
        for (auto [arg, yield] :
             llvm::zip(op.getCond().getArguments(), forwarded_operands)) {
          if (arg != yield) {
            return op.emitOpError()
                   << "arguments on condition block aren't forwarded to yield";
          }
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK:   %[[MUL:.*]] = "tf.Mul"(%[[ARG0]], %[[ARG1]])
      // CHECK:   "tf.Yield"(%[[MUL]]) : (tensor<f32>)
      // CHECK:  },  {
      // CHECK:    %[[SUB:.*]] = "tf.Sub"(%[[ARG0]], %[[ARG1]])
      // CHECK:    "tf.Yield"(%[[SUB]]) : (tensor<f32>)
      // CHECK:  },  {
      // CHECK:    %[[ADD:.*]] = "tf.AddV2"(%[[ARG0]], %[[ARG1]])
      // CHECK:    "tf.Yield"(%[[ADD]]) : (tensor<f32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top