Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 258 for created (0.17 sec)

  1. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

      TFL::populateWithGenerated(patterns);
      patterns.add<RemoveVolatileOps<kPreserveNone>>(ctx);
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    
    }  // namespace
    
    // Creates an instance of the TensorFlow Lite dialect PostQuantize pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePostQuantizePass(
        bool emit_quant_adaptor_ops, const quant::CustomOpMap& custom_op_map) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/deadness_analysis.cc

          return;
        }
        for (Predicate* op : current->GetOperands()) {
          if (visited.insert(op).second) {
            stack.push_back(op);
          }
        }
      }
    }
    
    // Creates and owns Predicate instances.  Simplifies predicates as it creates
    // them.
    class PredicateFactory {
     public:
      Predicate* MakeAndPredicate(absl::Span<Predicate* const> operands) {
        return MakeAndOrImpl(operands, /*is_and=*/true);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      EXPECT_EQ(clusters["B_dev1"], clusters["MatMul1_dev1"]);
    }
    
    // TODO(b/117085735): This form of clustering should be prevented.
    TEST(XlaCompilationTest, NOT_DontClusterSpreadingNodes) {
      // MatMulSource below creates data for nodes on GPU0 and GPU1 and is placed
      // on GPU0. However, it should not be clustered with the next node on
      // GPU0, because that will prevent the node on GPU1 from beginning its work as
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

                           const StringAttr &new_ref_func_name) {
      // Create PartitionedCallOp to the copied composite function. This
      // PartitionedCallOp does not have kQuantTraitAttrName, and therefore won't
      // get quantized.
      auto new_call_op = rewriter.create<TF::PartitionedCallOp>(
          call_op.getLoc(), call_op.getResultTypes(), call_op.getOperands(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/codegen.cc

                         const CompileResult& compile_result, string* methods) {
      const int num_args = ps.parameters_size();
      // feed_size() + variable_size() is the maximum number of args as an
      // implementation may not create an argument for an unused variable.
      if (config.feed_size() + config.variable_size() < num_args) {
        return errors::InvalidArgument(
            "mismatch between feed_size(", config.feed_size(), ")+variable_size(",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

      CellReader<Histogram> compilation_time(kCompilationTimeStreamzName);
      CellReader<int64_t> compilation_status(kCompilationStatusStreamzName);
    
      FunctionDef empty_function =
          tensorflow::FunctionDefHelper::Create("empty", {}, {}, {}, {}, {});
    
      tensorflow::FunctionDefLibrary fdef;
      *(fdef.add_function()) = empty_function;
      tensorflow::FunctionLibraryDefinition flib_def(
          tensorflow::OpRegistry::Global(), fdef);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

          };
    
          // Insert custom aggregation op between operand and operator.
          rewriter.setInsertionPointAfterValue(value);
          Operation *aggregator_op = rewriter.create<TF::CustomAggregatorOp>(
              op->getLoc(), output_types, value, attributes);
    
          Value aggregator_op_result = aggregator_op->getOpResult(0);
          value.replaceAllUsesExcept(aggregator_op_result, aggregator_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

      if (!tensor_attr_or.ok()) return nullptr;
      return tensor_attr_or.value();
    }
    
    // Creates a constant op that holds 'tensor_elements'.
    TF::ConstOp GetConstOpFromElementsAttr(ElementsAttr tensor_elements,
                                           OpBuilder builder, Location loc) {
      return builder.create<TF::ConstOp>(loc, tensor_elements);
    }
    
    // Returns ElementsAttr which has the value held by 'resource_tensor'.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. 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)
Back to top