Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,512 for q_builder (0.18 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      if (::tflite::optimize::QuantizeWeights(
              &q_builder, input_model, quantized_type, use_updated_hybrid_scheme,
              ::tflite::optimize::QuantizerType::OLD_QUANTIZER) != kTfLiteOk) {
        return absl::InvalidArgumentError(
            "Quantize weights transformation failed.");
      }
      const uint8_t* q_buffer = q_builder.GetBufferPointer();
      *result =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    func NewBuilder(buffer []byte) *Builder {
    	return &Builder{
    		result: buffer,
    	}
    }
    
    // NewFixedBuilder creates a Builder that appends its output into the given
    // buffer. This builder does not reallocate the output buffer. Writes that
    // would exceed the buffer's capacity are treated as an error.
    func NewFixedBuilder(buffer []byte) *Builder {
    	return &Builder{
    		result:    buffer,
    		fixedSize: true,
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-api/src/main/java/org/gradle/declarative/dsl/model/annotations/Builder.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Target(ElementType.METHOD)
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 927 bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/builder.go

    func (b *Builder) NamespaceParam(namespace string) *Builder {
    	b.namespace = namespace
    	return b
    }
    
    // DefaultNamespace instructs the builder to set the namespace value for any object found
    // to NamespaceParam() if empty.
    func (b *Builder) DefaultNamespace() *Builder {
    	b.defaultNamespace = true
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

      }
      auto runtime_metadata =
          CreateRuntimeMetadata(fb_builder, hardware_metadata_offset,
                                fb_builder.CreateVector(subgraphs_metadata));
      fb_builder.Finish(runtime_metadata);
      return std::string(
          reinterpret_cast<const char*>(fb_builder.GetBufferPointer()),
          fb_builder.GetSize());
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      region.push_back(new mlir::Block);
      auto saved_pos = op_builder.saveInsertionPoint();
      op_builder.setInsertionPointToEnd(&region.front());
      mlir::Operation* cloned_op = op_builder.clone(*op);
      // Add the yield operation.
      op_builder.create<mlir::TFL::YieldOp>(op_loc, cloned_op->getResults());
      // Now emit into the function body again.
      op_builder.restoreInsertionPoint(saved_pos);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        TfeTokenType:$token,
        TfeControlType:$control
      );
    
      let builders = [
        OpBuilder<(ins "Type":$result_type,
          CArg<"ArrayRef<NamedAttribute>", "{}">:$attributes),
        [{
          Type token_type = TokenType::get($_builder.getContext());
          Type control_type = ControlType::get($_builder.getContext());
          $_state.types = { result_type, token_type, control_type };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

    `tf_device` dialect operation.
      }];
    
      let arguments = (ins
        Variadic<AnyType>:$results
      );
    
      let builders = [
        OpBuilder<(ins),
        [{
          build($_builder, $_state, {});
        }]>
       ];
    
      let assemblyFormat = "attr-dict ($results^ `:` type($results))?";
    }
    
    def TfDevice_LaunchFuncOp : TfDevice_Op<"launch_func", []> {
      let summary = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    import (
    	"fmt"
    	"go/ast"
    	"go/token"
    )
    
    type builder struct {
    	cfg       *CFG
    	mayReturn func(*ast.CallExpr) bool
    	current   *Block
    	lblocks   map[string]*lblock // labeled blocks
    	targets   *targets           // linked stack of branch targets
    }
    
    func (b *builder) stmt(_s ast.Stmt) {
    	// The label of the current statement.  If non-nil, its _goto
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. src/strings/builder.go

    package strings
    
    import (
    	"internal/abi"
    	"internal/bytealg"
    	"unicode/utf8"
    	"unsafe"
    )
    
    // A Builder is used to efficiently build a string using [Builder.Write] methods.
    // It minimizes memory copying. The zero value is ready to use.
    // Do not copy a non-zero Builder.
    type Builder struct {
    	addr *Builder // of receiver, to detect copies by value
    
    	// External users should never get direct access to this buffer, since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top