Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 309 for q_builder (0.18 sec)

  1. 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)
  2. 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)
  3. pkg/test/framework/components/echo/deployment/builder.go

    type Builder interface {
    	// With adds a new Echo configuration to the Builder. Once built, the instance
    	// pointer will be updated to point at the new Instance.
    	With(i *echo.Instance, cfg echo.Config) Builder
    
    	// WithConfig mimics the behavior of With, but does not allow passing a reference
    	// and returns an echoboot builder rather than a generic echo builder.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/builder.go

    John Howard <******@****.***> 1717711954 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    def GetAvgPoolOpPadAttr: 
      NativeCodeCall<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>())">;
    
    // Returns true if the provided padding in the composite op can *not* be 
    // satisfied by SAME or VALID tensorflow padding.
    def HasCustomPadding:
      Constraint<CPred<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>()) == $_builder.getStringAttr(\"CUSTOM\")">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

                           fb_builder.CreateVector(std::vector<float>({1.0, 5.0}))),
          CreateOpMetadata(fb_builder, 2, 0,
                           fb_builder.CreateVector(std::vector<float>({1.0, 5.0}))),
          CreateOpMetadata(
              fb_builder, 3, 1,
              fb_builder.CreateVector(std::vector<float>({-1.0, 2.0}))),
      };
      const auto subgraphs = {CreateSubgraphMetadata(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

      NativeCodeCall<"GetI64ElementsAttr({" # value # "}, &$_builder)">;
    
    class GetF32Scalar<int value> :
      NativeCodeCall<"GetF32Scalar(&$_builder, " # value # ")">;
    
    def TrueBoolAttr : AttrConstraint<CPred<"$_self.cast<::mlir::BoolAttr>().getValue()">>;
    
    def CreateTFShapeOp : NativeCodeCall<
        "$_builder.create<TF::ShapeOp>($0.getLoc(), $1, $2)">;
    
    def IsI32 : NativeCodeCall<
    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. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let extraClassDeclaration = [{
        OpBuilder getThenBodyBuilder(OpBuilder::Listener *listener = nullptr) {
          Block* body = getBody(0);
          return getResults().empty() ? OpBuilder::atBlockTerminator(body, listener)
                                   : OpBuilder::atBlockEnd(body, listener);
        }
        OpBuilder getElseBodyBuilder(OpBuilder::Listener *listener = nullptr) {
          Block* body = getBody(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

      "CreateCastToInt32($0, $_loc, $_builder)">;
    
    def CreateInt32ConstOrCast : NativeCodeCall<
      "CreateInt32ConstOrCast($0, $_loc, $_builder)">;
    
    // Creates an int32 constant op from an integer attribute $0.
    def CreateInt32ConstOpFromIntAttr
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

          }
        }
        return WalkResult::advance();
      });
      OpBuilder builder(replicate);
      OpBuilder inner_builder = OpBuilder::atBlockBegin(&cluster.getBody().front());
      // mapping from original operand to new XlaAllReduce op.
      llvm::DenseMap<Value, Value> orig_to_new;
    
      for (Value bcast : bcasts) {
        if (failed(MoveBroadcastToCluster(builder, inner_builder, cluster,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top