Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 157 for op_names (0.42 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Reset(op_type,
                               /*raw_device_name=*/nullptr));
    }
    
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
                                TF_Status* s) {
      TracingOperation* tracing_op = dyn_cast<TracingOperation>(unwrap(op));
      if (!tracing_op) {
        tsl::Set_TF_Status_from_Status(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

    #include "tensorflow/lite/c/c_api_types.h"
    
    namespace mlir {
    namespace lite {
    
    std::string TfLiteToMlir(const absl::string_view tflite_op_name) {
      llvm::StringRef op_name(tflite_op_name.data(), tflite_op_name.size());
      return llvm::Twine("tfl.", op_name.lower()).str();
    }
    
    // TODO(fengliuai): check the result for `fully_quantize` flag.
    TfLiteStatus QuantizeModel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/c/ops.cc

    using ::tensorflow::shape_inference::InferenceContext;
    using ::tensorflow::shape_inference::ShapeHandle;
    
    TF_OpDefinitionBuilder* TF_NewOpDefinitionBuilder(const char* op_name) {
      auto* result = new OpDefBuilder(op_name);
      return reinterpret_cast<TF_OpDefinitionBuilder*>(result);
    }
    
    void TF_DeleteOpDefinitionBuilder(TF_OpDefinitionBuilder* builder) {
      delete reinterpret_cast<OpDefBuilder*>(builder);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 28 22:41:35 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/metrics/types_util.h

    tflite::metrics::ConverterErrorData NewConverterErrorData(
        const std ::string& pass_name, const std::string& error_message,
        tflite::metrics::ConverterErrorData::ErrorCode error_code,
        const std::string& op_name, const Location& location);
    
    }  // namespace TFL
    }  // namespace mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 16:09:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. src/regexp/syntax/parse_test.go

    func dumpRegexp(b *strings.Builder, re *Regexp) {
    	if int(re.Op) >= len(opNames) || opNames[re.Op] == "" {
    		fmt.Fprintf(b, "op%d", re.Op)
    	} else {
    		switch re.Op {
    		default:
    			b.WriteString(opNames[re.Op])
    		case OpStar, OpPlus, OpQuest, OpRepeat:
    			if re.Flags&NonGreedy != 0 {
    				b.WriteByte('n')
    			}
    			b.WriteString(opNames[re.Op])
    		case OpLiteral:
    			if len(re.Rune) > 1 {
    				b.WriteString("str")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

          return failure();
    
        Operation *inner_op;
    
        StringRef op_name = op->getName().stripDialect();
        if (!func_symbols_.contains(op_name)) {
          std::string tf_op_name = llvm::formatv(
              "{0}.{1}", TF::TensorFlowDialect::getDialectNamespace(), op_name);
          OperationState state =
              OperationState(loc, tf_op_name, inner_op_operands, new_types, attrs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

        llvm::ArrayRef<std::string> ops_to_preserve) {
      ops_to_preserve_ = ops_to_preserve;
    }
    
    void GraphPruningPass::runOnOperation() {
      for (const auto& op_name : ops_to_preserve_) {
        ops_to_preserve_ids_.insert(mlir::StringAttr::get(&getContext(), op_name));
      }
      if (!CanPruneGraph(getOperation())) return;
      getOperation().walk(
          [this](tf_executor::GraphOp graph) { PruneGraph(graph); });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc

        mlir_op_names.insert(std::move(mlir_name));
      }
    }
    
    std::string TfLiteToMlir(absl::string_view tflite_op_name) {
      StringRef op_name(tflite_op_name.data(), tflite_op_name.size());
      return op_name.lower();
    }
    
    std::unique_ptr<tflite::ModelT> CreateMutableModelFromFile(
        const tflite::Model* input_model) {
      auto copied_model = std::make_unique<tflite::ModelT>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

      // `TF_AttrBuilderCheckCanRunOnDevice()` call(s) on the same `builder`.
      std::set<std::string> attr_names;
    };
    
    TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) {
      return new TF_AttrBuilder(op_name);
    }
    
    void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; }
    
    void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/controllermanager_test.go

    		names.TTLController,
    		names.BootstrapSignerController,
    		names.TokenCleanerController,
    		names.NodeIpamController,
    		names.NodeLifecycleController,
    		names.TaintEvictionController,
    		cpnames.ServiceLBController,
    		cpnames.NodeRouteController,
    		cpnames.CloudNodeLifecycleController,
    		names.PersistentVolumeBinderController,
    		names.PersistentVolumeAttachDetachController,
    		names.PersistentVolumeExpanderController,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top