Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 457 for vecotr (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h

        bool use_tuple_args, XlaCompiler::CompilationResult* compilation_result,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        const std::vector<TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes);
    
    // Compiles a serialized MLIR module into XLA HLO, generates all accompanying
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/while_gradients.cc

    Output ToOutput(OutputTensor output_tensor) {
      return Output(const_cast<Node*>(output_tensor.node), output_tensor.index);
    }
    
    std::vector<Output> ToOutputVector(
        const std::vector<OutputTensor>& output_tensors) {
      const int n = output_tensors.size();
      std::vector<Output> result;
      result.reserve(n);
      for (int i = 0; i < n; ++i) result.push_back(ToOutput(output_tensors[i]));
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen_util.h

             const std::vector<string>& aliases);
      OpInfo(const OpDef& graph_op_def, const ApiDef& api_def);
      string GetOpAttrStruct() const;
      string GetConstructorDecl(StringPiece op_name_prefix,
                                bool include_attr) const;
    
      string op_name;
      std::vector<string> arg_types;
      std::vector<string> arg_names;
      std::vector<string> output_types;
      std::vector<string> output_names;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/gradient_checker.cc

    Status ComputeTheoreticalJacobianTranspose(
        const Scope& scope, const OutputList& xs,
        const std::vector<TensorShape>& x_shapes,
        const std::vector<Tensor>& x_datas, const OutputList& ys,
        const std::vector<TensorShape>& y_shapes,
        std::vector<Tensor>* jacobian_ts) {
      size_t y_num = y_shapes.size();
      size_t x_num = x_shapes.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. tensorflow/cc/ops/while_loop.cc

    std::vector<OutputTensor> ToOutputTensors(const std::vector<Output>& outputs) {
      std::vector<OutputTensor> result(outputs.size());
      for (int i = 0; i < outputs.size(); ++i) {
        result[i] = ToOutputTensor(outputs[i]);
      }
      return result;
    }
    
    // Utility function for converting to internal C++ datatypes.
    std::vector<Node*> ToNodes(const std::vector<Output>& outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

    class CalibrationStatisticsSaverTest : public OpsTestBase {};
    
    TEST_F(CalibrationStatisticsSaverTest, MissingOutputPath) {
      std::vector<std::string> ids{"1"};
      std::vector<int32_t> calibration_methods{
          CalibrationOptions::CALIBRATION_METHOD_AVERAGE_MIN_MAX};
    
      std::vector<NodeDefBuilder::NodeOut> inputs;
      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir_test.cc

      MlirToHloArgs mlir_to_hlo_args;
      mlir_to_hlo_args.mlir_module = module_str;
    
      std::vector<TensorShape> arg_shapes;
      TPUCompileMetadataProto metadata_proto;
      bool use_tuple_args = true;
      std::vector<ShardingAndIndex> arg_core_mapping;
      std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util_test.cc

      // XlaCompiler::CompilationResult that was used to build the executable.
      absl::StatusOr<std::vector<std::unique_ptr<xla::PjRtBuffer>>> RunExecutable(
          const std::vector<const Tensor*>& inputs,
          const std::vector<VariableInfo>& variables,
          const XlaCompiler::CompilationResult* result,
          xla::PjRtLoadedExecutable* executable) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc

        bool use_tuple_args, XlaCompiler::CompilationResult* compilation_result,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        const std::vector<TensorShape>& arg_shapes,
        std::vector<ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes) {
      LOG_FIRST_N(INFO, 1)
          << "Compiling MLIR computation to XLA HLO using MLIR tf2xla bridge in "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

      *deviceMgrPtr = device_mgr_.get();
      return absl::OkStatus();
    }
    
    Status FakeSession::Run(
        const std::vector<std::pair<std::string, Tensor>>& inputs,
        const std::vector<std::string>& output_names,
        const std::vector<std::string>& target_nodes,
        std::vector<Tensor>* outputs) {
      tensorflow::RunMetadata run_metadata;
      return Run(tensorflow::RunOptions(), inputs, output_names, target_nodes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top