Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,170 for const1 (0.07 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

        (tensor<i32>, !mlrt.promise) -> !mlrt.async_handle
    
      // CHECK: [[const:%.*]]  = tf_mlrt.const
      %const = "tf.Const"() {__op_key = 1: i32, value = dense<2> : tensor<i32>} : () -> tensor<i32>
    
      // CHECK: [[b:%.*]] = tf_mlrt.await [[futures]]
      %b = "tf_mlrt.tf_await"(%future_b) : (!mlrt.future) ->tensor<i32>
    
      // CHECK: [[result:%.*]] = tf_mlrt.executeop([[b]], [[const]])
      // CHECK-SAME: AddV2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/views/arg_view.cc

    string ArgView::VariableName() const { return arg_.name(); }
    
    string ArgView::SetterMethod() const {
      if (IsList()) {
        return "AddInputList";
      } else {
        return "AddInput";
      }
    }
    
    std::vector<string> ArgView::SetterArgs() const { return {VariableName()}; }
    
    bool ArgView::IsList() const { return arg_.arg_type().is_list(); }
    
    int ArgView::Position() const { return arg_.position(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

      // pass the filter (returning true) will be included.
      const llvm::SmallVector<Operation*, 4>& DirectControlPredecessors(
          Operation* op) const;
      llvm::SmallVector<Operation*, 4> DirectControlPredecessors(
          Operation* op, llvm::function_ref<bool(Operation*)> filter) const;
    
      // pass the filter (returning true) will be included.
      const llvm::SmallVector<Operation*, 4>& DirectControlSuccessors(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

      explicit QuantizeCompositeFunctionsPass() = default;
    
      explicit QuantizeCompositeFunctionsPass(
          const QuantMethod quantization_method, const OpSet target_opset,
          const bool enable_per_channel_quantization,
          const int min_num_elements_for_weights,
          const bool enable_legacy_weight_only,
          std::optional<const std::string> mlir_dump_file_name)
          : enable_legacy_weight_only_(enable_legacy_weight_only),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. tensorflow/cc/training/coordinator.cc

    namespace tensorflow {
    
    Coordinator::Coordinator() : Coordinator(std::vector<error::Code>()) {}
    
    Coordinator::Coordinator(const std::vector<error::Code>& clean_stop_errors)
        : should_stop_(false) {
      if (clean_stop_errors.empty()) {
        clean_stop_errors_.insert(error::OUT_OF_RANGE);
      } else {
        for (const auto& code : clean_stop_errors) {
          clean_stop_errors_.insert(static_cast<int>(code));
        }
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.cc

          return result;
        }
      }
      return result;
    }
    
    IsComposite IsComposite::join(const IsComposite &lhs, const IsComposite &rhs) {
      IsComposite ret;
      ret.is_on_composite_device =
          lhs.is_on_composite_device || rhs.is_on_composite_device;
      return ret;
    }
    
    void IsComposite::print(raw_ostream &os) const {
      if (is_on_composite_device) {
        os << "COMPOSITE";
      } else {
        os << "NOT_COMPOSITE";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

      func.walk([&](Operation* op) {
        // TODO(renjieliu): Find a generic way to deal with const ops.
        if (op->hasTrait<OpTrait::IsTerminator>() ||
            llvm::isa<TFL::QConstOp, TFL::ConstOp>(op) ||
            llvm::isa<TFL::QConstOp, TFL::ConstOp, TF::ConstOp, ConstOp>(op))
          return;
    
        bool int8_type_observed = false;
        bool uint8_type_observed = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.ir.txt

                        elements: VARARG type=kotlin.Array<out kotlin.Int> varargElementType=kotlin.Int
                          CONST Int type=kotlin.Int value=1
                          CONST Int type=kotlin.Int value=2
                          CONST Int type=kotlin.Int value=3
                          CONST Int type=kotlin.Int value=4
                          CONST Int type=kotlin.Int value=5
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 30 10:27:47 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h

    absl::StatusOr<tensorflow::quantization::ExportedModel> CreateExportedModel(
        const std::vector<std::string>& signature_keys,
        const std::unordered_set<std::string>& tags,
        const ::stablehlo::quantization::QuantizationConfig& quantization_config,
        absl::string_view debug_name_prefix,
        const absl::flat_hash_map<FunctionName, FunctionAlias>& function_aliases,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/cluster_util_test.cc

      auto main_func = module.lookupSymbol<func::FuncOp>("main");
      const TF::SideEffectAnalysis::Info& info =
          side_effect_analysis.GetAnalysisForFunc(main_func);
      llvm::StringMap<SmallVector<Cluster>> clusters = BuildAllClusters(
          main_func.front(), info, GetDevice, CanBeIgnoredInCluster);
      return clusters;
    }
    
    TEST(BuildClusters, TestSingleCluster) {
      static const char* const module_with_single_cluster =
          R"(module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top