Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 237 for Operands (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_reorder_replicate_and_partitioned_inputs.mlir

      // CHECK: return [[PI]]
      func.return %ri : tensor<!tf_type.resource<tensor<10x3xf32>>>
    }
    
    // Test IR is not modified when none of the operands of tf.TPUReplicaedInput is
    // a tf.TPUPartitionedInputV2 op.
    
    // CHECK-LABEL:func @no_change_to_dag
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

      };
      const SmallVector<Value> operands(dot_general_op->getOperands());
      const SmallVector<Value> results(dot_general_op->getResults());
      Operation* lifted_op =
          LiftAsFunctionCall(builder_, dot_general_op->getLoc(),
                             FunctionCallOpType::TFXlaCallModuleOp,
                             "composite_dot_general_fn", operands, results,
                             attributes)[0]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

    Value BuildDotOperandFlattenedShapeOp(Value operand,
                                          DotDimensionsInfo dot_dimensions_info,
                                          ImplicitLocOpBuilder& builder,
                                          bool is_lhs) {
      auto operand_type = mlir::cast<ShapedType>(operand.getType());
      auto operand_shape = builder.create<TFL::ShapeOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      for (const auto& operand :
           llvm::enumerate(signature.getFunctionType().getInputs())) {
        // If the index is larger than the operand number of the call_op, the
        // default value of the operand needs to be used.
        if (operand.index() >= call_op.getNumOperands()) {
          auto attr_name = signature.getArgAttrOfType<StringAttr>(
              operand.index(), kAttrArgumentNameAttr);
          auto attr_value =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/passes.td

      let summary = "TFLite runtime verification";
      let constructor = "CreateRuntimeVerifyPass()";
    }
    
    def SplitMergedOperandsPass : Pass<"tfl-split-merged-operands", "mlir::func::FuncOp"> {
      let summary = "Split merged stateful operands for tfl operations.";
      let constructor = "CreateSplitMergedOperandsPass()";
    }
    
    def TrimFunctionsPass : Pass<"tfl-trim-funcs-tf", "mlir::ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

    }
    
    tensorflow::XlaExpression Tf2XlaRewriter::GetExprForOperand(
        Value operand, Operation* op, int64_t operand_index) {
      ElementsAttr const_attr;
      auto defining_op = operand.getDefiningOp();
    
      ::xla::XlaOp xla_op = xla::Parameter(&xla_builder_, operand_index,
                                           xla::TypeToShape(operand.getType()),
                                           std::to_string(operand_index));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/go/types/call.go

    	if n := len(elist); n == 1 {
    		xlist, _ = check.multiExpr(elist[0], false)
    	} else if n > 1 {
    		// multiple (possibly invalid) values
    		xlist = make([]*operand, n)
    		for i, e := range elist {
    			var x operand
    			check.expr(nil, &x, e)
    			xlist[i] = &x
    		}
    	}
    	return
    }
    
    // genericExprList is like exprList but result operands may be uninstantiated or partially
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. src/fmt/doc.go

    will print 23.
    
    Except when printed using the verbs %T and %p, special
    formatting considerations apply for operands that implement
    certain interfaces. In order of application:
    
    1. If the operand is a [reflect.Value], the operand is replaced by the
    concrete value that it holds, and printing continues with the next rule.
    
    2. If an operand implements the [Formatter] interface, it will
    be invoked. In this case the interpretation of verbs and flags is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

        return failure();
      }
    
      MutableArrayRef<BlockArgument> operands =
          entry_func_op.getBody().getArguments();
      // Function must have input, filter, and optionally bias.
      if (operands.size() != 2 && operands.size() != 3) {
        LLVM_DEBUG(llvm::dbgs() << GemmStyleOp::getOperationName()
                                << " op function should have 2 or 3 operands.\n");
        return failure();
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

        bool is_read = read_array.contains(arg.getOperandNumber());
        bool is_update = update_array.contains(arg.getOperandNumber());
        // We want the resource operands that are on composite devices to be the
        // exact same set as the resource operands that are read or updated.
        if ((is_read || is_update) != lattice.is_on_composite_device) {
          return false;
        }
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top