Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 71 for then_branch (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        `tf.IfRegion` and `tf.While` is transformed to `tf.WhileRegion`.
    
        For example, this functional operation
    
        ```mlir
          %0 = "tf.If"(%arg0, %arg1) {
            then_branch = @then_branch_func, else_branch = @else_branch_func, is_stateless = false
          } : (tensor<i1>, tensor<*xf32>) -> tensor<*xf32>
        ```
    
        will be transformed into this region-based operation
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        %1 = "tf.If"(%arg0, %arg2) {Tcond = i1, Tin = ["tfdtype$DT_FLOAT"], Tout = ["tfdtype$DT_FLOAT"], _xla_propagate_compile_time_consts = true, device = "", else_branch = @reused_if_else_branch, is_stateless = true, name = "if", then_branch = @reused_if_then_branch} : (tensor<i1>, tensor<3xf32>) -> tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        }
        auto else_attr =
            mlir::SymbolRefAttr::get(builder.getContext(), func_names.at(else_idx));
    
        return llvm::SmallVector<mlir::NamedAttribute, 4>{
            builder.getNamedAttr("then_branch", then_attr),
            builder.getNamedAttr("else_branch", else_attr),
            // TODO(b/139667752): Analyze statelessness correctly
            builder.getNamedAttr("is_stateless", builder.getBoolAttr(false))};
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    `tf.IfRegion` and `tf.While` is transformed to `tf.WhileRegion`.
    
    For example, this functional operation
    
    ```mlir
      %0 = "tf.If"(%arg0, %arg1) {
        then_branch = @then_branch_func, else_branch = @else_branch_func, is_stateless = false
      } : (tensor<i1>, tensor<*xf32>) -> tensor<*xf32>
    ```
    
    will be transformed into this region-based operation
    
    ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.txt

    Kristoffer Andersen <******@****.***> 1659368814 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 63 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt

    Kristoffer Andersen <******@****.***> 1659368814 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 93 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    LogicalResult IfOp::verifySymbolUses(SymbolTableCollection& symbol_table) {
      auto branch_name = [](unsigned index) -> std::string {
        return index == 0 ? "'then_branch'" : "'else_branch'";
      };
      return VerifyCaseOrIfOpBranchFunctions(
          symbol_table, *this, {getThenBranchAttr(), getElseBranchAttr()},
          branch_name);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("when_branch.kt")
      public void testWhen_branch() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt");
      }
    
      @Test
      @TestMetadata("when_branchUsed.kt")
      public void testWhen_branchUsed() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionInfoProvider/FirIdeDependentAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("when_branch.kt")
      public void testWhen_branch() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt");
      }
    
      @Test
      @TestMetadata("when_branchUsed.kt")
      public void testWhen_branchUsed() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionInfoProvider/FirIdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("when_branch.kt")
      public void testWhen_branch() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt");
      }
    
      @Test
      @TestMetadata("when_branchUsed.kt")
      public void testWhen_branchUsed() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
Back to top