Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for do (0.02 sec)

  1. tensorflow/cc/ops/while_loop.cc

    Status CreateCond(const Scope& scope, const CondGraphBuilderFn& cond,
                      const std::vector<Output>& inputs, Output* output) {
      // The control dependency is for constants in the cond graph, and other ops
      // that do not depend on the loop variables. This ensures that these ops are
      // in the while loop frame (since they will indirectly depend on an Enter node
      // defining the frame) and that they are executed once per loop iteration.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_test.cc

          BlankLine();
          BlockOpen("void TestFunction()");
          {
            Statement("int i = 1");
            BlankLine();
            BlockOpen("while (i == 1)");
            {
              CommentLine("Do nothing, really....");
              CodeLine("#if 0");
              Statement("call()");
              CodeLine("#endif");
              BlockClose();
            }
            BlockClose("  // comment ending TestFunction");
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/test_google.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains a test and benchmark for the function generated by
    // tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be rewritten to
    // real values before this file can be compiled.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

        rewriter.eraseOp(call_op);
        func_op.eraseResult(0);
        func_op.insertResult(0, new_call_op.getResult(0).getType(),
                             /*resultAttrs=*/nullptr);
    
        // Modify the quantized fused function to do dequantize+relu(6).
        rewriter.setInsertionPoint(req_op);
        Value new_result = rewriter.create<mlir::stablehlo::UniformDequantizeOp>(
            req_op.getLoc(), func_op.getResultTypes()[0], req_op.getOperand());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

      // First, we need to convert from functional, to executor dialect.
      pm.addNestedPass<FuncOp>(
          mlir::CreateFunctionalToExecutorDialectConversionPass());
    
      // Do a single pass to split the graph's single island op into an island per
      // op as expected by the following passes.
      pm.addNestedPass<FuncOp>(mlir::TF::CreateSplitIntoIslandPerOpPass());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_util.cc

        const jit::DeviceInfoCache& device_info_cache,
        const jit::DeviceSet& devices, bool allow_mixing_unknown_and_cpu,
        bool failure_to_pick_is_error) {
    #define FAILED_TO_PICK_DEVICE(failing_status) \
      do {                                        \
        if (failure_to_pick_is_error) {           \
          return failing_status;                  \
        } else {                                  \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

      Type type = GetGlobalType(source);
      std::string name = GetVariableName(source);
      if (auto existing = symbol_table.lookup<ml_program::GlobalOp>(name)) {
        // This might be of a different type, but we'll do a Cast later.
        return existing;
      }
    
      Attribute initial_value = GetInitialValue(source);
      if (!initial_value) {
        initial_value = builder.getZeroAttr(type);
        if (!initial_value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

      }
      return it->second.potentially_written;
    }
    
    // Analyze the specified region for resource mutating operations, namely
    // TF::AssignVariableOp, if so, set the resource associated as "potentially
    // written". Do this recursively across the chain of regions via call or
    // control flow ops.
    // TODO(ashwinm): Move to iterative traversal.
    LogicalResult ResourceAnalyzer::AnalyzeRegion(Region& region) {
      // Avoid infinite recursion.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/runtime/runtime.cc

          Function tf_function;
          for (const std::string& fn_name :
               child_node.function().concrete_functions()) {
            // Setup input signature.
            //
            // For now, we have to do a lot of manual digging through these and
            // assume they are tensorspecs. Once TODO(b/190203981) is done, we
            // should be able to pass along the `StructuredValue`s to an API in a
            // much cleaner way.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc

                                      PatternRewriter& rewriter) {
          // Move the first block of `tf_then_or_else_region` into the first block
          // of `scf_then_or_else_region` and do not add any arguments to the block.
          moveBlock(&tf_then_or_else_region.front(),
                    &scf_then_or_else_region.front(), TypeRange(), rewriter);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 9.4K bytes
    - Viewed (0)
Back to top