Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for num_inputs (0.61 sec)

  1. tensorflow/compiler/jit/device_compiler.h

        ExecutableType** out_executable) {
      DCHECK_NE(out_executable, nullptr);
      VLOG(2) << "DeviceCompiler::Compile " << DebugString();
    
      if (VLOG_IS_ON(2)) {
        VLOG(2) << "num_inputs=" << args.size();
        for (int i = 0, end = args.size(); i < end; i++) {
          VLOG(3) << i << ": " << args[i].HumanString();
        }
      }
      TF_ASSIGN_OR_RETURN(auto signature,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

    // TODO(ycao): Support computation with compile-time constant, which requires
    // non-trivial input mapping as implemented now.
    void GetInputMappingForMlir(int num_inputs, std::vector<int>* input_mapping) {
      input_mapping->resize(num_inputs, 0);
      std::iota(input_mapping->begin(), input_mapping->end(), 0);
    }
    
    static void RegisterDialects(mlir::DialectRegistry& registry) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  3. tensorflow/c/kernels_experimental.cc

      }
    }
    
    bool TF_IsRefInput(TF_OpKernelContext* ctx, int i, TF_Status* status) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      if (i < 0 || i >= cc_ctx->num_inputs()) {
        TF_SetStatus(status, TF_OUT_OF_RANGE, "input index out of range");
        return false;
      }
      TF_SetStatus(status, TF_OK, "");
      return cc_ctx->input_is_ref(i);
    }
    
    #ifndef IS_MOBILE_PLATFORM
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/kernels/xla_ops.cc

        : OpKernel(ctx), platform_info_(XlaPlatformInfoFromDevice(ctx->device())) {}
    
    void XlaRunOp::Compute(OpKernelContext* ctx) {
      VLOG(3) << "XlaRunOp " << def().name();
      Tensor key_tensor = ctx->input(ctx->num_inputs() - 1);
    
      bool use_pjrt =
          GetXlaOpsCommonFlags()
              ->tf_xla_use_device_api.IsEnabledInXlaCompileAndRunForDevice(
                  platform_info_.device_type());
    
      if (use_pjrt) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/database/sql/convert.go

    	// placeholders, so we won't sanity check input here and instead let the
    	// driver deal with errors.
    	want := -1
    
    	var si driver.Stmt
    	var cc ccChecker
    	if ds != nil {
    		si = ds.si
    		want = ds.si.NumInput()
    		cc.want = want
    	}
    
    	// Check all types of interfaces from the start.
    	// Drivers may opt to use the NamedValueChecker for special
    	// argument types, then return driver.ErrSkip to pass it along
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top