Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for num_inputs (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      const auto &inputs_ty = op.getInputs().getType();
      int n_inputs = inputs_ty.size();
      if (n_inputs < 1) return op.emitOpError() << "No inputs";
    
      const auto &init_values_ty = op.getInitValues().getType();
      int n_init_values = init_values_ty.size();
      if (n_init_values != n_inputs) {
        return op.emitOpError() << "Number of inputs (" << n_inputs
                                << ") is different than number of init_values ("
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def LowerSoftmaxCrossEntropyWithLogitsOp : Pattern<
      (TF_SoftmaxCrossEntropyWithLogitsOp AnyRankedTensor:$features,
                                          AnyRankedTensor:$labels),
      [(TF_SumOp (TF_MulNoNanOp:$sum_input
                         (TF_LogSoftmaxOp $features),
                         (TF_NegOp $labels)),
                 (TF_ConstOp (GetI64ScalarElementsAttr<-1>)),
                 /*keep_dims=*/ConstBoolAttrFalse),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. src/database/sql/fakedb_test.go

    		posRow:    -1,
    		rows:      setMRows,
    		cols:      setColumns,
    		colType:   setColType,
    		errPos:    -1,
    	}
    	return cursor, nil
    }
    
    func (s *fakeStmt) NumInput() int {
    	if s.panic == "NumInput" {
    		panic(s.panic)
    	}
    	return s.placeholders
    }
    
    // hook to simulate broken connections
    var hookCommitBadConn func() bool
    
    func (tx *fakeTx) Commit() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    def OptimizeToSoftmax : Pat<
      (TFL_DivOp (TFL_ExpOp:$exp $input),
                 (TFL_SumOp:$sum $sum_input, (Arith_ConstantOp I32ElementsAttr: $axes),
                                 ConstBoolAttrTrue), TFL_AF_None),
      (TFL_SoftmaxOp $input, ConstF32Attr<"1.0">),
      [(IsSame $exp, $sum_input),
       (AxesIsLastDimension $axes, $sum_input),
       (HasTwoUse $exp),
       (HasOneUse $sum)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        int num_input = input_ty.getNumElements();
        int input_last_dim = input_ty.getShape().back();
        if (input_last_dim < 1) return std::nullopt;
        int num_result = result_ty.getNumElements();
        auto size_last = *(--size.value_end<APInt>());
        int32_t k = size_last.getSExtValue();
        if (num_input / input_last_dim * k != num_result) return std::nullopt;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top