Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 531 for ninputs (0.2 sec)

  1. tensorflow/c/c_api.cc

    void TF_AddInput(TF_OperationDescription* desc, TF_Output input) {
      desc->node_builder.Input(&input.oper->node, input.index);
    }
    
    void TF_AddInputList(TF_OperationDescription* desc, const TF_Output* inputs,
                         int num_inputs) {
      std::vector<NodeBuilder::NodeOut> input_list;
      input_list.reserve(num_inputs);
      for (int i = 0; i < num_inputs; ++i) {
        input_list.emplace_back(&inputs[i].oper->node, inputs[i].index);
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

        std::unordered_map<const Node*, std::vector<int>>* input_nodes)
        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),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. tensorflow/c/c_api_experimental.cc

        // below. Allocate enough space so that no reallocation happens, which will
        // make the pointers invalid.
        all_input_tensors.reserve(num_inputs);
        for (int i = 0; i < num_inputs; ++i) {
          if (input_tensors[i] == nullptr) continue;
          all_input_tensors.emplace_back();
          Tensor& input_tensor = all_input_tensors.back();
          status->status = TF_TensorToTensor(input_tensors[i], &input_tensor);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

          grad_inputs[0] = TF_Output{grad_inputs_op, 0};
          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) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

    public class StopwordsItem extends DictionaryItem {
        private final String input;
    
        private String newInput;
    
        public StopwordsItem(final long id, final String input) {
            this.id = id;
            this.input = input;
    
            if (id == 0) {
                // create
                newInput = input;
            }
        }
    
        public String getNewInput() {
            return newInput;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

    public class ProtwordsItem extends DictionaryItem {
        private final String input;
    
        private String newInput;
    
        public ProtwordsItem(final long id, final String input) {
            this.id = id;
            this.input = input;
    
            if (id == 0) {
                // create
                newInput = input;
            }
        }
    
        public String getNewInput() {
            return newInput;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K 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) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

                if (Arrays.equals(newInputs, newOutputs)) {
                    return StringUtils.join(newInputs, ",");
                }
                return StringUtils.join(newInputs, ",") + "=>" + StringUtils.join(newOutputs, ",");
            }
            if (Arrays.equals(inputs, outputs)) {
                return StringUtils.join(inputs, ",");
            }
            return StringUtils.join(inputs, ",") + "=>" + StringUtils.join(outputs, ",");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/math_grad.cc

          : forward_inputs_(f_inputs) {
        for (auto input : forward_inputs_) {
          if (input) {
            input->Ref();
          }
        }
      }
    
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        // TODO(vnvo2409): Add control dependency
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. cmd/postpolicyform.go

    // to the passed operator
    func checkPolicyCond(op string, input1, input2 string) bool {
    	switch op {
    	case policyCondEqual:
    		return input1 == input2
    	case policyCondStartsWith:
    		return strings.HasPrefix(input1, input2)
    	}
    	return false
    }
    
    // checkPostPolicy - apply policy conditions and validate input values.
    // (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top