Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,755 for functor (0.14 sec)

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

        // When the init function with type "restore_op" is not found, fall back to
        // taking the init function corresponding to the first symbol in the
        // initializers list to be backwards-compatible, before
        // tf_saved_model.initializer_type attribute was introduced.
        SymbolTable symbol_table(module);
        return symbol_table.lookup<func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

      }
    
      // The function might contain stats ops which are redundant for processing
      // dynamic range quantization. And stats ops may cause conflict while
      // processing the function for dynamic range quantization. Therefore, this
      // method preprocess the function to remove all stats ops.
      void removeAllStatsOp(func::FuncOp func);
    
      void runOnOperation() override;
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc

    // Returns a list of "tf.entry_function" attribute's "inputs" comma-split
    // values.
    //
    // Example: if `func_op` has attribute `tf.entry_function = {inputs =
    // "arg0:0,arg1:0"}`, then this function returns `{"arg0:0", "arg1:0"}`.
    SmallVector<StringRef> GetEntryFunctionInputs(func::FuncOp func_op) {
      auto entry_function_attr =
          func_op->getAttrOfType<DictionaryAttr>("tf.entry_function");
    
      SmallVector<StringRef> inputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"stringtoslicerune", funcTag, 53},
    	{"slicecopy", funcTag, 54},
    	{"decoderune", funcTag, 55},
    	{"countrunes", funcTag, 56},
    	{"convT", funcTag, 57},
    	{"convTnoptr", funcTag, 57},
    	{"convT16", funcTag, 59},
    	{"convT32", funcTag, 61},
    	{"convT64", funcTag, 62},
    	{"convTstring", funcTag, 63},
    	{"convTslice", funcTag, 66},
    	{"assertE2I", funcTag, 67},
    	{"assertE2I2", funcTag, 67},
    	{"panicdottypeE", funcTag, 68},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

                    TF_Status* status) {
      TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status);
      for (const auto& attr : func.attr()) {
        if (!status->status.ok()) return nullptr;
        SetOpAttrValueScalar(ctx, func_op, attr.second, attr.first.data(), status);
        if (!status->status.ok()) return nullptr;
      }
      return func_op;
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.cc

      absl::flat_hash_set<FunctionName> existing_func_names;
      module_op->walk([&](func::FuncOp func_op) {
        FunctionName func_name = func_op.getSymName().str();
        existing_func_names.insert(func_name);
        // We may retrieve the original function's name from the attribute.
        // Functions without this attribute are ignored.
        auto original_func_name =
            func_op->getAttrOfType<StringAttr>("tf._original_func_name");
        if (original_func_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // Mark main function public, others private.
      for (auto function : module.get().getOps<mlir::func::FuncOp>()) {
        auto visibility = function.getName() == graph_func_name
                              ? mlir::func::FuncOp::Visibility::Public
                              : mlir::func::FuncOp::Visibility::Private;
        function.setVisibility(visibility);
      }
      VLOG(2) << "Imported: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

        assert(uses && "expected to be able to collect symbol uses");
        for (SymbolTable::SymbolUse use : *uses) {
          func::FuncOp referenced_func = entry_module_table.lookup<func::FuncOp>(
              mlir::cast<FlatSymbolRefAttr>(use.getSymbolRef()).getValue());
    
          // Skip Symbols that do not map to a function.
          if (!referenced_func) continue;
    
          referenced.emplace_back(referenced_func);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc

    };
    
    void FoldConstantTransposePass::runOnOperation() {
      func::FuncOp func_op = getOperation();
      MLIRContext& ctx = getContext();
    
      RewritePatternSet patterns(&ctx);
      patterns.add<FoldTransposedConstantOp>(&ctx);
      if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) {
        func_op.emitError("Failed to fold constant->transpose pattern.");
        signalPassFailure();
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

      }
    
      // The function might contain stats ops which are redundant for processing
      // dynamic range quantization. And stats ops may cause conflict while
      // processing the function for dynamic range quantization. Therefore, this
      // method preprocess the function to remove all stats ops.
      void removeAllStatsOp(func::FuncOp func);
    
      void runOnOperation() override;
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top