Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 263 for created (0.36 sec)

  1. tensorflow/compiler/jit/encapsulate_util.cc

        const Edge* e;
        TF_RETURN_IF_ERROR(dst->input_edge(edges[i].dst_input, &e));
        Node* src = e->src();
        int src_output = e->src_output(), dst_input = e->dst_input();
        g->RemoveEdge(e);
    
        // Find or create placeholder node.
        string new_name =
            absl::StrCat(src->name(), "_oc_to_oc_placeholder_", src_output);
        auto placeholder_index = std::make_pair(src->name(), src_output);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc

      // attribute of the MLIR op. The assigned device might be remote, not
      // available during compilation or compilation only device for on demand
      // execution which may create a recursion if used for constant folding.
      constexpr char kHostCpu[] = "/job:localhost/replica:0/task:0/CPU:0";
      TFE_OpSetDevice(op, kHostCpu, status);
      RETURN_FAILURE_IF_ERROR(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 06:02:14 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

    }
    
    }  // namespace
    
    Status MapFunctionSignaturesFromTFSavedModelMLIR(
        mlir::ModuleOp module,
        llvm::function_ref<void(const TFRTSavedModelSignatureInfo&)> map_fn) {
      // Create bound inputs for each functions.
      mlir::SymbolTable symbol_table(module);
      tensorflow::Status status = absl::OkStatus();
      module.walk([&symbol_table, map_fn, &status](mlir::func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/compilability_check_util.cc

    // not revisited in future calls to ScanForValue, so callers must take
    // care to order their calls.
    //
    // Useful for merging multiple sorted lists in O(n) time.
    class SinglePassSearch {
     public:
      // Creates a SinglePassSearch object that can be used to search in `values`.
      // Does not take ownership of `values`. `values` must outlive this.
      // `values` must be sorted.
      explicit SinglePassSearch(absl::Span<int const> values)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

            func.emitError() << "Failed to duplicate values for the stateful op\n";
            return signalPassFailure();
          }
        }
      }
    }
    
    }  // namespace
    
    /// Creates an instance of the TensorFlow Lite dialect SplitMergedOperands
    /// pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateSplitMergedOperandsPass() {
      return std::make_unique<SplitMergedOperandsPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/partially_decluster_pass.cc

    // the cluster.
    //
    // Declustering f will increase the number of compilations only if f is a
    // one-to-many "function" i.e. isn't a function at all.  RNG is one possible
    // example, depending on how we look at it.  But we never create clusters where
    // such f's would be marked as must-be-constant.
    //
    // We assume here that the extra repeated (repeated compared to a clustered f
    // where it will always be constant folded) host-side computation of f does not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

      }
    
      // Rewrite return if there are variable writes.
      const int return_operands_size = return_operands.size();
      if (return_operands_size > num_results_before) {
        builder.create<func::ReturnOp>(return_op.getLoc(), return_operands);
        return_op.erase();
      }
    
      // Update function argument and result types with new resource subtypes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

      AddShapeLegalizationPasses(pm);
      pm.addPass(createReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass());
      // ReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass may create
      // duplicate constants. Add canonicalizer to deduplicate.
      pm.addNestedPass<func::FuncOp>(mlir::createCanonicalizerPass());
      pm.addPass(TF::CreateXlaCallModuleSerializationPass());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        Value value = effect.getValue();
        found_any_effect = true;
    
        // We only collect value-based side effects here for which we can use
        // resource alias analysis. Other side effects are treated as op-based
        // side effects.
        if (!ShouldUseResourceAliasAnalysis(effect)) continue;
        if (value) processed_values.insert(value);
    
        TypeID type_id = effect.getResource()->getResourceID();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/public/session_options.h"
    #include "tsl/platform/statusor.h"
    
    #define DEBUG_TYPE "run-tf-graph-optimization"
    
    namespace tensorflow {
    namespace {
    // Creates a pass to convert MLIR to Graph, run user-specified Graph
    // Optimization Passes and convert back to MLIR.
    // Constraints: This pass expects that all operations in the MLIR module either
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top