Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for num_inputs (0.22 sec)

  1. tensorflow/c/eager/c_api_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddAttrs(ret, TFE_OpGetAttrs(other));
      int num_inputs = TFE_OpGetFlatInputCount(other, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      for (int input_index = 0; input_index < num_inputs; ++input_index) {
        TFE_TensorHandle* input = TFE_OpGetFlatInput(other, input_index, status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // For inputs that take a list of tensors.
    // inputs must point to TF_Output[num_inputs].
    TF_CAPI_EXPORT extern void TF_AddInputList(TF_OperationDescription* desc,
                                               const TF_Output* inputs,
                                               int num_inputs);
    
    // Call once per control input to `desc`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        mlir::FunctionType callee_type = callee.getFunctionType();
        SmallVector<Type, 4> expected_callee_input_types;
        auto num_inputs = op.getInputs().size() / 2;
        for (unsigned i = 0; i < num_inputs; ++i) {
          auto input_type =
              mlir::dyn_cast<RankedTensorType>(op.getOperand(i).getType());
          auto scalar = RankedTensorType::get({}, input_type.getElementType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                            ? mhlo::Precision::DEFAULT
                                            : mlir::mhlo::Precision::HIGHEST;
      llvm::SmallVector<mlir::Attribute, 2> attr_vec;
      const int num_inputs = 2;
      for (int i = 0; i < num_inputs; i++) {
        attr_vec.push_back(
            mlir::mhlo::PrecisionAttr::get(builder->getContext(), precision));
      }
      return builder->getArrayAttr(attr_vec);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

    const std::vector<AttrView>& OpView::Attributes() const {
      return argument_attrs_;
    }
    
    const std::vector<OpArgumentView>& OpView::AllArguments() const {
      return all_arguments_;
    }
    
    int OpView::NumInputs() const { return input_args_.size(); }
    
    int OpView::NumOutputs() const { return output_args_.size(); }
    
    ArgView OpView::OnlyInput() const {
      CHECK_EQ(input_args_.size(), 1);  // Crash OK
      return input_args_.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          }
        }
    
        return mlir::UnrankedTensorType::get(element_type);
      };
    
      // Below we only try and do some shape inference for "source" ops which have
      // no inputs.
      if (node.num_inputs() > 0) return default_type();
    
      // Do some simply inference here to get the function arguments correct for
      // this common case.
      // TODO(jpienaar): Reconsider post refactoring shape functions.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  7. src/database/sql/driver/driver.go

    	// do not block indefinitely (e.g. apply a timeout).
    	Close() error
    
    	// NumInput returns the number of placeholder parameters.
    	//
    	// If NumInput returns >= 0, the sql package will sanity check
    	// argument counts from callers and return errors to the caller
    	// before the statement's Exec or Query methods are called.
    	//
    	// NumInput may also return -1, if the driver doesn't know
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

          IsSingleCallRegion(while_region.getBody()), while_arg_matcher);
    
      // All existing inputs to while region are inputs to the functional while.
      auto new_inputs = llvm::to_vector<4>(while_region.getOperands());
    
      // All existing results will also be generated by the functional while.
      auto new_result_types = llvm::to_vector<4>(while_region.getResultTypes());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. src/cmd/cover/cover.go

    					return err
    				}
    				covervarsoutfile = outputfiles[0]
    				outputfiles = outputfiles[1:]
    				numInputs := len(flag.Args())
    				numOutputs := len(outputfiles)
    				if numOutputs != numInputs {
    					return fmt.Errorf("number of output files (%d) not equal to number of input files (%d)", numOutputs, numInputs)
    				}
    				if err := readPackageConfig(*pkgcfg); err != nil {
    					return err
    				}
    				return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
          new ThreadLocal<Random>() {
            @Override
            protected Random initialValue() {
              return new Random();
            }
          };
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top