Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 105 for signalPassFailure (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        });
      });
    
      if (walk_result.wasInterrupted()) return signalPassFailure();
    
      // Clean up and canonicalize to remove dead local variables as some local
      // variables might be dead after hoisting resource loads/stores.
      if (failed(TF::CleanupAndCanonicalizeForResourceOpLifting(module)))
        return signalPassFailure();
    }
    
    #define GEN_PASS_DEF_RESOURCEOPLIFTINGFORMAINFUNCTIONPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      TFQuantTypeConversionTarget target(getContext(), converter);
      if (failed(applyFullConversion(getOperation(), target, std::move(patterns))))
        return signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantTypesPass() {
      return std::make_unique<ConvertTFQuantTypes>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        // Remove the call_op to finish the op expansion.
        call_op.erase();
        changed |= true;
        return WalkResult::advance();
      });
    
      if (walk_result.wasInterrupted()) {
        signalPassFailure();
        return failure();
      }
    
      // If `changed` is false, it is considered as a failure, so the recursive
      // rewrite will stop.
      return success(changed);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

      for (func::FuncOp func : GetSortedFunctions(module)) {
        if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) {
          func.emitError() << "quant-lift-quantizable-spots-as-functions failed.";
          signalPassFailure();
        }
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsPass(
        const QuantizationOptions& quant_options) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

        }
        for (auto func_op : original_func) {
          std::optional<llvm::StringMap<FunctionMetadata>> metadatas =
              GetFunctionMetadatas(func_op);
          if (!metadatas) {
            signalPassFailure();
            return;
          }
    
          CreateFunctions(module_op, *metadatas);
          CreateRemoteRunCalls(context, *metadatas);
    
          // Erases the original operations which have been cloned in the remote
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

      patterns.insert<ConvertCollectiveReduceV2>(context, &channel_id);
      patterns.insert<ConvertXlaAllReduce>(context, &channel_id);
    
      if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCollectivePass() {
      return std::make_unique<LegalizeTFCollective>();
    }
    
    }  // namespace mhlo
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

      // to make things more modular.
      if (failed(ValidateOp(func))) {
        func.emitError() << "tfl-prepare-tf pass failed.";
        signalPassFailure();
        return;
      }
    
      if (failed(ConvertTf2XlaOps(func, ctx))) {
        signalPassFailure();
        return;
      }
    
      // This pattern will try to identify and optimize for dilated convolution.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

        if (quant_specs_.inference_type == tensorflow::DT_INVALID) {
          func.emitError() << "prepare-quantize pass failed: unsupported "
                              "inference type specification";
          signalPassFailure();
          return;
        }
        quant_specs_.post_training_quantization = post_training_quantize_;
        quant_specs_.legacy_float_scale = legacy_float_scale_;
        quant_specs_.disable_set_input_nodes_quantization_params =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                            {producer, min_consumer, bad_consumers})));
        break;
      }
    
      if (failed(applyFullConversion(module.getOperation(), target, finalPatterns)))
        signalPassFailure();
    
      // The uses of arg control dependency has been dropped. We can safely remove
      // the block argument here.
      module.walk([&](tf_executor::GraphOp graph) {
        graph.getBody().front().eraseArguments(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      addPatterns(context, stage1Patterns, this->preserve_assert_op_);
    
      FrozenRewritePatternSet stage1FrozenPatterns(std::move(stage1Patterns));
      if (!applyPatterns(func, target, stage1FrozenPatterns)) {
        return signalPassFailure();
      }
      // Explict BroadcastTo addition for left-over broadcast-able ops.
      // The following pattern matchings should be done after the other legalization
      // rules in order not to add unnecessary BroadcastTo ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top