Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for conv_func (0.12 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        self.assertNotEmpty(function_aliases)
        self.assertCountEqual(function_aliases.values(), {'conv_func'})
    
        # Test that the aliased function contains a quantized op.
        for func_name, alias in function_aliases.items():
          if alias == 'conv_func':
            for func in meta_graph_def.graph_def.library.function:
              if func.signature.name == func_name:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/resource_operation_safety_analysis_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
    
      FunctionDefLibrary flib_def =
          CreateFunctionDefLibWithConstFunction("Const_func");
      TF_ASSERT_OK(root.graph()->AddFunctionLibrary(flib_def));
    
      Node* read = MakeRead(root, "R");
      Status status;
      Node* call = MakeCall(root.graph(), "Const_func", "C", &status);
      TF_ASSERT_OK(status);
    
      root.graph()->AddControlEdge(call, read);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 16:53:59 UTC 2020
    - 18.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      NameAttrList cond_func;
      TF_RETURN_IF_ERROR(GetNodeAttr(n->def(), "cond", &cond_func));
      const FunctionDef* cond_function_def = fld->Find(cond_func.name());
      TF_RET_CHECK(cond_function_def);
      std::unique_ptr<FunctionBody> cond_function_body;
      TF_RETURN_IF_ERROR(FunctionDefToBodyHelper(*cond_function_def,
                                                 AttrSlice(&cond_func.attr()), fld,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

      // arguments: the condition returns a bool and the two branches must return
      // the same type, which is also the return of the tf.If.
      %value = "tf.If”(%added, %mul)
                 {cond: @cond_func, true_branch: @func_foo, false_branch: @func_bar}
                     : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
    
      return %value : tensor<*xf32>
    }
    ```
    
    ## TensorFlow Executor Dialect
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-lift-quantizable-spots-as-functions | FileCheck %s
    
    // CHECK-LABEL: @conv_fn(
    // CHECK-SAME:          %[[ARG_0:.*]]: tensor<1x3x3x4xf32>
    func.func @conv_fn(%arg0: tensor<1x3x3x4xf32>) -> tensor<1x3x3x4xf32> {
      %0 = stablehlo.constant dense<2.000000e+00> : tensor<3x3x4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                                       updated_argument_types[arg.getArgNumber()]);
      }
      rewriter.applySignatureConversion(&entry.front(), signature_conversion);
    }
    
    // Changes the function type of `cond_func` and `body_func` for the given While
    // op.
    LogicalResult UpdateFunctionTypesForWhileOp(
        ConversionPatternRewriter &rewriter, TF::WhileOp op, ValueRange operands,
        const llvm::SmallSet<int, 4> &tensor_list_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // This case covers for the following quantization patterns because
    // activation clipping ranges take affect in scale and zp of the final
    // `stablehlo.uniform_quantize`. See more details in b/319168201.
    // * conv_fn
    // * conv_with_relu_fn
    // * conv_with_relu6_fn
    
    func.func @conv_srq(%arg0: tensor<1x5x5x2x!quant.uniform<i8:f32, 2.000000e+00:0>>) -> (tensor<1x4x4x4x!quant.uniform<i8:f32, 8.000000e+00:-128>>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
Back to top