Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 594 for ninputs (0.07 sec)

  1. tensorflow/c/c_api_function.cc

        TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) {
      input_tensors->reserve(ninputs);
      for (int i = 0; i < ninputs; ++i) {
        Node* node = inputs[i].oper ? &inputs[i].oper->node : nullptr;
        int idx = inputs[i].index;
    
        TF_RETURN_WITH_CONTEXT_IF_ERROR(
            fn_body->graph.IsValidOutputTensor(node, idx),
            "Encountered while processing input ", i, " into function '", fn_name,
            "'");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      TF_Output* cond_inputs = new TF_Output[ninputs];
      TF_Output cond_output = {nullptr, -1};
      TF_Output* body_inputs = new TF_Output[ninputs];
      TF_Output* body_outputs = new TF_Output[ninputs];
      for (int i = 0; i < ninputs; ++i) body_outputs[i] = {nullptr, -1};
      const char* name = nullptr;
    
      for (int i = 0; i < ninputs; ++i) {
        // TODO(skyewm): prefix names with underscore (requires some plumbing)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    //          automatic skipping of dummy input operations is performed.
    //  ninputs - number of elements in `inputs` array
    //  inputs - array of TF_Outputs that specify the inputs to the function.
    //           If `ninputs` is zero (the function takes no inputs), `inputs`
    //           can be null. The names used for function inputs are normalized
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

            "Unable to find the placeholder node as input to enqueue in the TF "
            "graph.");
        return;
      }
    
      VLOG(1) << "Running the enqueue op";
      TF_Output input{placeholder_op, 0};
      TF_SessionRun(session, /*run_options*/ nullptr,
                    // input related parameters
                    /*inputs*/ &input, /*input_values*/ &tensor, /*ninputs*/ 1,
                    // output related parameters
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_test.cc

          TF_GraphToFunction(
              /* fn_body */ body.get(), /* fn_name */ function_name,
              /* append_hash_to_fn_name */ 0, /* num_opers */ 2,
              /* opers */ operations, /* ninputs */ 1, /* inputs */ &x,
              /* noutputs */ 1, /* outputs */ &y, /* output_names */ &output_name,
              /* opts */ nullptr, /* description */ "", /* status */ status),
          TF_DeleteFunction);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

          TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs,
                                    ninputs, grad_inputs, s_, grad_outputs);
        } else {
          TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs,
                                    ninputs, nullptr, s_, grad_outputs);
        }
      }
    
      void BuildErrorGraph(TF_Output* inputs, TF_Output* outputs) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        private final String[] inputs;
    
        private final String output;
    
        private String[] newInputs;
    
        private String newOutput;
    
        public CharMappingItem(final long id, final String[] inputs, final String output) {
            this.id = id;
            this.inputs = inputs;
            this.output = output == null ? null : output.replace("\n", " ");
            Arrays.sort(inputs);
    
            if (id == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContextOptions(opts);
    
      TFE_TensorHandle* input1 = TestMatrixTensorHandle(ctx);
      TFE_TensorHandle* input2 = TestMatrixTensorHandle(ctx);
      TFE_Op* identityOp = TFE_NewOp(ctx, "IdentityN", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_TensorHandle* inputs[] = {input1, input2};
      TFE_OpAddInputList(identityOp, inputs, 2, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/input.go

    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    	beginningOfLine bool
    	ifdefStack      []bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        for (int i = 0; i < inputs.size(); i++) {
          GraphTensor* t = dyn_cast<GraphTensor>(inputs[i]);
          if (!t) {
            return tensorflow::errors::InvalidArgument(
                "Unable to cast input to GraphTensor");
          }
          tf_outputs[i] = t->output_;
        }
        TF_AddInputList(op_.get(), tf_outputs.data(), tf_outputs.size());
        return absl::OkStatus();
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top