Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for addInputs (0.43 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

                             TF_AbstractTensor* const* inputs, TF_OutputList* o,
                             TF_Status* s) {
      for (int i = 0; i < num_inputs; i++) {
        tsl::Set_TF_Status_from_Status(s, unwrap(op)->AddInput(unwrap(inputs[i])));
        if (TF_GetCode(s) != TF_OK) {
          return;
        }
      }
      int num_outputs = unwrap(o)->expected_num_outputs;
      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Execute(
    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/cc/experimental/libtf/function.cc

      auto call_op = AbstractOperationPtr(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(
          call_op->Reset(fname.c_str(), /*raw_device_name=*/nullptr));
      for (auto t : inputs) {
        TF_RETURN_IF_ERROR(call_op->AddInput(t));
      }
      int num_outputs = outputs.size();
      return call_op->Execute(outputs, &num_outputs);
    }
    
    Status VerifySupportedSignature(TaggedValue signature) {
      if (signature.type() == TaggedValue::Type::TENSOR_SPEC) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      Status SetDeviceName(const char* name) override {
        // TODO(srbs): Implement this.
        device_name_ = name;
        return absl::OkStatus();
      }
    
      Status AddInput(AbstractTensorHandle* input) override {
        GraphTensor* t = dyn_cast<GraphTensor>(input);
        if (!t) {
          return tensorflow::errors::InvalidArgument(
              "Unable to cast input to GraphTensor");
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        if (n->IsOp()) {
          NodeDef* node_def = n->mutable_def();
          node_def->clear_input();
          for (const Edge* e : n->in_edges()) {
            Node* src = e->src();
            if (src->IsOp()) {
              Graph::AddInput(node_def, src->name(), e->src_output());
            }
          }
        }
      }
    }
    absl::StatusOr<std::unique_ptr<Graph>> Exporter::Convert(
        const GraphExportConfig& configs, const Dialect* tf_dialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        if (n->IsOp()) {
          NodeDef* node_def = n->mutable_def();
          node_def->clear_input();
          for (const Edge* e : n->in_edges()) {
            Node* src = e->src();
            if (src->IsOp()) {
              Graph::AddInput(node_def, src->name(), e->src_output());
            }
          }
        }
      }
    }
    absl::StatusOr<std::unique_ptr<Graph>> Exporter::Convert(
        const GraphExportConfig& configs, const Dialect* tf_dialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

      return tensorflow::unwrap(op)->DeviceName().c_str();
    }
    
    void TFE_OpAddInput(TFE_Op* op, TFE_TensorHandle* input, TF_Status* status) {
      status->status = tensorflow::unwrap(op)->AddInput(tensorflow::unwrap(input));
    }
    
    void TFE_OpAddInputList(TFE_Op* op, TFE_TensorHandle** inputs, int num_inputs,
                            TF_Status* status) {
      status->status = tensorflow::unwrap(op)->AddInputList(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      ::flatbuffers::uoffset_t start_;
      void add_opcode_index(uint32_t opcode_index) {
        fbb_.AddElement<uint32_t>(Operator::VT_OPCODE_INDEX, opcode_index, 0);
      }
      void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> inputs) {
        fbb_.AddOffset(Operator::VT_INPUTS, inputs);
      }
      void add_outputs(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        auto signature_key_buf =
            builder_.CreateString(signature_def_data.signature_key);
        tflite::SignatureDefBuilder sig_def_builder(builder_);
        sig_def_builder.add_inputs(inputs_buf);
        sig_def_builder.add_outputs(outputs_buf);
        sig_def_builder.add_signature_key(signature_key_buf);
        sig_def_builder.add_subgraph_index(signature_def_data.subgraph_index);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top