Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for _retval (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
          output_buffer_to_size;
      for (auto retval : llvm::enumerate(old_terminator->getOperands())) {
        auto it = buffer_to_size.find(retval.value());
        if (it == buffer_to_size.end()) continue;
        output_buffer_to_size.emplace_back(retval.index(), new_outputs.size(),
                                           it->getSecond().fixed);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    }
    
    Status MlirAbstractOp::Execute(absl::Span<AbstractTensorHandle*> retvals,
                                   int* num_retvals) {
      OperationState* state;
      TF_RETURN_IF_ERROR(Create(operands_, &state));
      Operation* op = function_context_->CreateOperationFromState(*state);
      *num_retvals = op->getNumResults();
      for (int i = 0; i < *num_retvals; i++)
        retvals[i] = new MlirTensor(op->getResult(i));
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    			if err != nil {
    				return err
    			}
    			retval := inject.IntoResourceFile(injector, templs, vc, rev, meshConfig,
    				reader, writer, func(warning string) {
    					warnings = append(warnings, warning)
    				})
    			if len(warnings) > 0 {
    				fmt.Fprintln(c.ErrOrStderr())
    			}
    			for _, warning := range warnings {
    				fmt.Fprintln(c.ErrOrStderr(), warning)
    			}
    			return retval
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/provision_test.go

    	ctrl, err := newTestController(ctx, nil, nil, false)
    	if err != nil {
    		t.Fatalf("Construct PersistentVolume controller failed: %v", err)
    	}
    	retVal := ctrl.provisionClaim(ctx, nil)
    	if retVal != nil {
    		t.Errorf("Expected nil return but got %v", retVal)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

    //                    "[\\PIPE\\netdfs]", auth);
    //        try {
    //            rpc = new MsrpcDfsRootEnum(domainName);
    //            handle.sendrecv(rpc);
    //            if (rpc.retval != 0)
    //                throw new SmbException(rpc.retval, true);
    //            return rpc.getEntries();
    //        } finally {
    //            try {
    //                handle.close();
    //            } catch(IOException ioe) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/go/types/builtins.go

    		if resTyp == nil {
    			code := InvalidImag
    			if id == _Real {
    				code = InvalidReal
    			}
    			check.errorf(x, code, invalidArg+"argument has type %s, expected complex type", x.typ)
    			return
    		}
    
    		// if the argument is a constant, the result is a constant
    		if x.mode == constant_ {
    			if id == _Real {
    				x.val = constant.Real(x.val)
    			} else {
    				x.val = constant.Imag(x.val)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        return op.emitOpError(
            llvm::formatv(kBadArrayAttrLengthMsg, tensorflow::kOutputShardingAttr,
                          op.getNumResults(), output_shardings.size()));
    
      // Set retvals metadata in proto.
      for (auto output_sharding_and_idx : llvm::enumerate(output_shardings))
        if (failed(SetOpSharding(op, output_sharding_and_idx.value(),
                                 tensorflow::kOutputShardingAttr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins.go

    		if resTyp == nil {
    			code := InvalidImag
    			if id == _Real {
    				code = InvalidReal
    			}
    			check.errorf(x, code, invalidArg+"argument has type %s, expected complex type", x.typ)
    			return
    		}
    
    		// if the argument is a constant, the result is a constant
    		if x.mode == constant_ {
    			if id == _Real {
    				x.val = constant.Real(x.val)
    			} else {
    				x.val = constant.Imag(x.val)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/util/util.go

    	srcX, err := src.UnmarshalNew()
    	if err != nil {
    		return nil, err
    	}
    
    	// Merge the two typed protos
    	merge.Merge(dstX, srcX)
    
    	// Convert the merged proto back to dst
    	retVal := protoconv.MessageToAny(dstX)
    
    	return retVal, nil
    }
    
    // AppendLbEndpointMetadata adds metadata values to a lb endpoint using the passed in metadata as base.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. src/runtime/cgocall.go

    type argset struct {
    	args   unsafe.Pointer
    	retval uintptr
    }
    
    // wrapper for syscall package to call cgocall for libc (cgo) calls.
    //
    //go:linkname syscall_cgocaller syscall.cgocaller
    //go:nosplit
    //go:uintptrescapes
    func syscall_cgocaller(fn unsafe.Pointer, args ...uintptr) uintptr {
    	as := argset{args: unsafe.Pointer(&args[0])}
    	cgocall(fn, unsafe.Pointer(&as))
    	return as.retval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top